A3DPDFPageInsertTextAndSetLayer

A3DStatus A3DPDFPageInsertTextAndSetLayer(A3DPDFPage *pPage, A3DPDFText *pText, const A3DInt32 iPosLeft, const A3DInt32 iPosBottom, A3DPDFLayer *pLayer)
A3DStatus A3DPDFPageInsertTextAndSetLayer(A3DPDFPage* pPage, A3DPDFText* pText, const A3DInt32 iPosLeft, const A3DInt32 iPosBottom, A3DPDFLayer* pLayer)

Function to insert a text line in a page within a layer.

Parameters

pPage: The Page object to work with.

pText: The Text object to insert on the page.

iPosLeft: The x coordinate of the insertion point of the text. The insertion point is the bottom left corner of the text. The coordinate origin (0, 0) is the bottom left of the page. The unit is point.

iPosBottom: The y coordinate of the insertion point of the text. The insertion point is the bottom left corner of the text. The coordinate origin (0, 0) is the bottom left of the page. The unit is point.

pLayer: The layer in which the text must be placed

Returns

A3D_SUCCESS in case of success or an error code