A3DPDFTextCreateEx

A3DStatus A3DPDFTextCreateEx(A3DPDFDocument *pDoc, const A3DPDFTextDataEx *pTextDataEx, A3DPDFText **ppText)
A3DStatus A3DPDFTextCreateEx(A3DPDFDocument* pDoc, const A3DPDFTextDataEx* pTextDataEx, A3DPDFText** ppText)

Function to create a text object with extended fonts and languages.

The text object is primarily created with this function, and it should be positioned on the page with the function A3DPDFPageInsertText(). If the font can’t be found in the directory C:/Windows/Fonts, then the function returns an A3DPDF_CANNOT_FIND_FONT (-1000016) error.

The initialization function A3DPDFInitializePDFLibAndResourceDirectory() must be called before using this function.

Return Values

A3D_SUCCESS:

5.0

Parameters

pDoc: The Document object to work with.

pTextDataEx: The text parameters.

ppText: The Text object created.

Returns

A3D_SUCCESS in case of success or an error code