A3DPDFTableStyleData
Fields
Detailed Description
-
struct A3DPDFTableStyleData
Structure to define a table style.
All values are defined automatically with A3D_INITIALIZE_DATA to a value ‘unset’. With this, inherited values are applied. If no heritance is found, default value are applied. Default values are documented on each member.
- Version
23.0
Public Members
-
A3DInt32 m_iFontSize
Size of the font. Use 0 to not define a specific size and take value from inheritance. Default value is 10.
-
A3DUTF8Char *m_pcFontName
Font name. Use NULL to not define a specific font and take value from inheritance. Default value is MyriadPro. Font name is the name of the font for the system, with style (bold, italic, bolditalic) separated with a comma. The fonts are searched primarily in the resource folder provided to A3DPDFInitializePDFLibAndResourceDirectory, then in the font folder of the system (c:\Windows\Fonts on windows).
-
A3DPDFRgbColorData *m_pTextColor
Text color. Use NULL to not define a specific color and take value from inheritance. Default value is black.
-
A3DPDFRgbColorData *m_pBorderColor
Border color. Use NULL to not define a specific color and take value from inheritance. Default value is black.
-
A3DInt32 m_iBorderWidth
Width in points. Use 0 to define the thinnest line that can be rendered at device resolution (1 device pixel wide). Use -1 to take value from inheritance. Default value is 0.
-
A3DInt32 m_iPaddingBottom
Height of the padding area on the bottom. Use -1 to take value from inheritance. Default value is 2.
-
A3DInt32 m_iPaddingLeft
Height of the padding area on the top. Use -1 to take value from inheritance. Default value is 2.
-
A3DInt32 m_iPaddingRight
Width of the padding area on the right. Use -1 to take value from inheritance. Default value is 2.
-
A3DInt32 m_iPaddingTop
Width of the padding area on the left. Use -1 to take value from inheritance. Default value is 2.
-
A3DPDFRgbColorData *m_pBackgroundColor
Background color. Use NULL to not define a specific color and take value from inheritance. Default value is no background color.
-
A3DPDFETableTextHorizontalAlign m_eHorizAlignment
Horizontal alignment of the text inside the cell. Use kA3DPDFTableAlignHInherit to take value from inheritance. Default value is kA3DPDFTableAlignHCentered.
-
A3DPDFETableTextVerticalAlign m_eVertAlignment
Vertical alignment of the text inside the cell. Use kA3DPDFTableVInherit to take value from inheritance. Default value is kA3DPDFTableAlignVMiddle.