A3DPDFPageInsertTableAndSetLayer
-
A3DStatus
A3DPDFPageInsertTableAndSetLayer(A3DPDFPage *pPage, A3DPDFTable *pTable, const A3DInt32 iPosLeft, const A3DInt32 iPosTop, A3DPDFLayer *pLayer) A3DStatusA3DPDFPageInsertTableAndSetLayer(A3DPDFPage* pPage,A3DPDFTable* pTable, constA3DInt32iPosLeft, constA3DInt32iPosTop,A3DPDFLayer* pLayer)Function to insert a table in a page within a layer.
Warning1: The positioning is not defined as in the other insertion functions (for texts or images). Here, the position is specified from the top of the page. Warning2: This function must be used instead of
A3DPDFPageInsertTable()if the table is to be placed in a layer.Parameters
pPage: The Page object to work with.
pTable: The Table object to insert on the page.
iPosLeft: The x coordinate of the insertion point of the table. The insertion point is the top left corner of the table. The coordinate origin (0, 0) is the bottom left of the page. The unit is point.
iPosTop: The y coordinate of the insertion point of the table. The insertion point is the top left corner of the table. The coordinate origin (0, 0) is the bottom left of the page. The unit is point.
pLayer: The layer in which the table must be placed.
Returns
A3D_SUCCESS in case of success or an error code