
####################
A3DPDFTableStyleData
####################

.. c: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.
   
   
      23.0
   
   
   
   Index
   =====
   
   .. rubric:: Variables
   
   
   .. rst-class:: api-xref-list
   
   
   * :c:member:`~A3DPDFTableStyleData.m_iFontSize`
   * :c:member:`~A3DPDFTableStyleData.m_pcFontName`
   * :c:member:`~A3DPDFTableStyleData.m_pTextColor`
   * :c:member:`~A3DPDFTableStyleData.m_pBorderColor`
   * :c:member:`~A3DPDFTableStyleData.m_iBorderWidth`
   * :c:member:`~A3DPDFTableStyleData.m_iPaddingBottom`
   * :c:member:`~A3DPDFTableStyleData.m_iPaddingLeft`
   * :c:member:`~A3DPDFTableStyleData.m_iPaddingRight`
   * :c:member:`~A3DPDFTableStyleData.m_iPaddingTop`
   * :c:member:`~A3DPDFTableStyleData.m_pBackgroundColor`
   * :c:member:`~A3DPDFTableStyleData.m_eHorizAlignment`
   * :c:member:`~A3DPDFTableStyleData.m_eVertAlignment`
   * :c:member:`~A3DPDFTableStyleData.m_iRowHeight`
   * :c:member:`~A3DPDFTableStyleData.m_iColumnWidth`
   
   



.. rst-class:: kind-group kind-variable

.. rubric:: Variables
   :class: kind-group-title


.. c:member:: A3DInt32 A3DPDFTableStyleData.m_iFontSize

      .. rst-class:: sig-pretty-signature
      
         | :c:type:`~A3DInt32`
      
      Size of the font.
      
      Use 0 to not define a specific size and take value from inheritance. Default value is 10.
      



.. c:member:: A3DUTF8Char* A3DPDFTableStyleData.m_pcFontName

      .. rst-class:: sig-pretty-signature
      
         | :c:type:`~A3DUTF8Char`\ \*
      
      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 :c:func:`~A3DPDFInitializePDFLibAndResourceDirectory`\ , then in the font folder of the system (c:\Windows\Fonts on windows).
      



.. c:member:: A3DPDFRgbColorData* A3DPDFTableStyleData.m_pTextColor

      .. rst-class:: sig-pretty-signature
      
         | :c:struct:`~A3DPDFRgbColorData`\ \*
      
      Text color.
      
      Use NULL to not define a specific color and take value from inheritance. Default value is black.
      



.. c:member:: A3DPDFRgbColorData* A3DPDFTableStyleData.m_pBorderColor

      .. rst-class:: sig-pretty-signature
      
         | :c:struct:`~A3DPDFRgbColorData`\ \*
      
      Border color.
      
      Use NULL to not define a specific color and take value from inheritance. Default value is black.
      



.. c:member:: A3DInt32 A3DPDFTableStyleData.m_iBorderWidth

      .. rst-class:: sig-pretty-signature
      
         | :c:type:`~A3DInt32`
      
      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.
      



.. c:member:: A3DInt32 A3DPDFTableStyleData.m_iPaddingBottom

      .. rst-class:: sig-pretty-signature
      
         | :c:type:`~A3DInt32`
      
      Height of the padding area on the bottom.
      
      Use -1 to take value from inheritance. Default value is 2.
      



.. c:member:: A3DInt32 A3DPDFTableStyleData.m_iPaddingLeft

      .. rst-class:: sig-pretty-signature
      
         | :c:type:`~A3DInt32`
      
      Height of the padding area on the top.
      
      Use -1 to take value from inheritance. Default value is 2.
      



.. c:member:: A3DInt32 A3DPDFTableStyleData.m_iPaddingRight

      .. rst-class:: sig-pretty-signature
      
         | :c:type:`~A3DInt32`
      
      Width of the padding area on the right.
      
      Use -1 to take value from inheritance. Default value is 2.
      



.. c:member:: A3DInt32 A3DPDFTableStyleData.m_iPaddingTop

      .. rst-class:: sig-pretty-signature
      
         | :c:type:`~A3DInt32`
      
      Width of the padding area on the left.
      
      Use -1 to take value from inheritance. Default value is 2.
      



.. c:member:: A3DPDFRgbColorData* A3DPDFTableStyleData.m_pBackgroundColor

      .. rst-class:: sig-pretty-signature
      
         | :c:struct:`~A3DPDFRgbColorData`\ \*
      
      Background color.
      
      Use NULL to not define a specific color and take value from inheritance. Default value is no background color.
      



.. c:member:: A3DPDFETableTextHorizontalAlign A3DPDFTableStyleData.m_eHorizAlignment

      .. rst-class:: sig-pretty-signature
      
         | :c:enum:`~A3DPDFETableTextHorizontalAlign`
      
      Horizontal alignment of the text inside the cell.
      
      Use kA3DPDFTableAlignHInherit to take value from inheritance. Default value is kA3DPDFTableAlignHCentered.
      



.. c:member:: A3DPDFETableTextVerticalAlign A3DPDFTableStyleData.m_eVertAlignment

      .. rst-class:: sig-pretty-signature
      
         | :c:enum:`~A3DPDFETableTextVerticalAlign`
      
      Vertical alignment of the text inside the cell.
      
      Use kA3DPDFTableVInherit to take value from inheritance. Default value is kA3DPDFTableAlignVMiddle.
      



.. c:member:: A3DInt32 A3DPDFTableStyleData.m_iRowHeight

      .. rst-class:: sig-pretty-signature
      
         | :c:type:`~A3DInt32`
      
      Row height.
      
      Use -1 to take value from inheritance. This is an error if any row height is defined at any level.
      



.. c:member:: A3DInt32 A3DPDFTableStyleData.m_iColumnWidth

      .. rst-class:: sig-pretty-signature
      
         | :c:type:`~A3DInt32`
      
      Column width.
      
      -1 to take value from inheritance. This is an error if any column width is defined at any level.
      




