
################################
A3DPDFPageInsertTableAndSetLayer
################################

.. c:function:: A3DStatus A3DPDFPageInsertTableAndSetLayer(A3DPDFPage *pPage, A3DPDFTable *pTable, const A3DInt32 iPosLeft, const A3DInt32 iPosTop, A3DPDFLayer *pLayer)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DPDFPageInsertTableAndSetLayer(:c:type:`~A3DPDFPage`\ \* **pPage**\ , :c:type:`~A3DPDFTable`\ \* **pTable**\ , *const* :c:type:`~A3DInt32` **iPosLeft**\ , *const* :c:type:`~A3DInt32` **iPosTop**\ , :c:type:`~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 :c:func:`~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
   
   




