PDF Widget Type Determination

Functions

A3DStatus

A3DPDFWidgetGetType

Detailed Description

group a3d_publish_widget_type_functions

Determines the type of a PDF Widget.

Function Documentation

A3DStatus A3DPDFWidgetGetType(const A3DPDFWidget *pWidget, A3DPDFEWidgetType *peWidgetType)

Gets the actual type of the PDF Widget.

This function returns an integer that specifies a PDF Widget type. The integer corresponds to one of the values described by the A3DPDFEWidgetType enumeration.

Version

10.0

Parameters:
  • pWidget[in] The widget.

  • peWidgetType[out] The widget type.

Return values:
  • A3D_INVALID_ENTITY_NULL

  • A3D_INVALID_ENTITY_TYPE

  • A3D_SUCCESS

Returns:

A3D_SUCCESS in case of success or an error code