< Home

< Programming Guide

< Supported File Formats

REFERENCE MANUAL

Data Fields
A3DPDF3DAnnotData Struct Reference

A3DPDF3DAnnotData structure: options for the 3D Annot behavior in the PDF. More...

Data Fields

A3DUns16 m_usStructSize
 
A3DPDFEActivateWhen m_eActivateWhen
 
A3DPDFEDesactivateWhen m_eDesactivateWhen
 
A3DBool m_bShowToolbar
 
A3DBool m_bOpenModelTree
 
A3DBool m_bDisableInteractivity
 
A3DInt32 m_iAppearanceBorderWidth
 
A3DBool m_bTransparentBackground
 
A3DPDFRgbColorData m_sBackgroundColor
 
A3DPDFELighting m_eLighting
 
A3DPDFERenderingStyle m_eRenderingStyle
 
A3DPDF3DArtworkm_p3DArtwork
 
A3DPDFImagem_pPosterImage
 
A3DUTF8Charm_pcName
 

Detailed Description

A3DPDF3DAnnotData structure: options for the 3D Annot behavior in the PDF.

Version
4.1

Field Documentation

A3DUns16 A3DPDF3DAnnotData::m_usStructSize

Reserved; must be initialized with A3D_INITIALIZE_DATA.

A3DPDFEActivateWhen A3DPDF3DAnnotData::m_eActivateWhen

Option to specify when the 3D Annot should be activated.

A3DPDFEDesactivateWhen A3DPDF3DAnnotData::m_eDesactivateWhen

Option to specify when the 3D Annot should be deactivated.

A3DBool A3DPDF3DAnnotData::m_bShowToolbar

Option to show or not show the 3D toolbar when the 3D Annot is activated.

A3DBool A3DPDF3DAnnotData::m_bOpenModelTree

Option to show or not show the 3D model tree when the 3D Annot is activated.

A3DBool A3DPDF3DAnnotData::m_bDisableInteractivity

Option to enable or disable the interactivity on the 3D scene. If disabled, only JavaScript actions can control the 3D Annot.

A3DInt32 A3DPDF3DAnnotData::m_iAppearanceBorderWidth

Border width in points.

A3DBool A3DPDF3DAnnotData::m_bTransparentBackground

If true, the background of the 3D window is transparent. Warning, a transparent background leads to Adobe bugs in Adobe Reader or Acrobat: the 3D Annot can't be printed, and the form fields are blinking when a field is triggered.

A3DPDFRgbColorData A3DPDF3DAnnotData::m_sBackgroundColor

Display setting - background color of the 3D scene. Incompatible with m_bTransparentBackground. See A3DPDF3DArtworkData::m_bUseRuntimeDisplaySettings to understand how this setting is applied.

A3DPDFELighting A3DPDF3DAnnotData::m_eLighting

Display setting - lighting of the 3D scene. See A3DPDF3DArtworkData::m_bUseRuntimeDisplaySettings to understand how this setting is applied.

A3DPDFERenderingStyle A3DPDF3DAnnotData::m_eRenderingStyle

Display setting - rendering style of the 3D scene. See A3DPDF3DArtworkData::m_bUseRuntimeDisplaySettings to understand how this setting is applied.

A3DPDF3DArtwork* A3DPDF3DAnnotData::m_p3DArtwork

Specifies the 3D Artwork object which contains the 3D definition.

A3DPDFImage* A3DPDF3DAnnotData::m_pPosterImage

Specifies a poster image to be displayed when the 3D Annot is not activated. If null, a poster is automatically created from the default view. To disable this automatic generation of poster, we advise to specify a blank image file.

A3DUTF8Char* A3DPDF3DAnnotData::m_pcName

Name of the 3D Annot.