A3DPDFButtonCreate

A3DStatus A3DPDFButtonCreate(A3DPDFDocument *pDoc, const A3DPDFButtonData *pButtonData, A3DPDFButton **ppButton)
A3DStatus A3DPDFButtonCreate(A3DPDFDocument* pDoc, const A3DPDFButtonData* pButtonData, A3DPDFButton** ppButton)

Function to create a button.

The button is primarily created with this function, and it should be positioned on the page with the function A3DPDFPageInsertButton().

Parameters

pDoc: The Document object to work with.

pButtonData: The button parameters. The name is mandatory.

ppButton: The button created.

Returns

A3D_SUCCESS in case of success or an error code