# A3DPDFTableStyleData

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

  Variables

  - `m_iFontSize`
  - `m_pcFontName`
  - `m_pTextColor`
  - `m_pBorderColor`
  - `m_iBorderWidth`
  - `m_iPaddingBottom`
  - `m_iPaddingLeft`
  - `m_iPaddingRight`
  - `m_iPaddingTop`
  - `m_pBackgroundColor`
  - `m_eHorizAlignment`
  - `m_eVertAlignment`
  - `m_iRowHeight`
  - `m_iColumnWidth`

Variables

A3DInt32 `A3DPDFTableStyleData.``m_iFontSize`
  `A3DInt32`

  Size of the font.

  Use 0 to not define a specific size and take value from inheritance. Default value is 10.

A3DUTF8Char *`A3DPDFTableStyleData.``m_pcFontName`
  `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 `A3DPDFInitializePDFLibAndResourceDirectory()`, then in the font folder of the system (c:WindowsFonts on windows).

A3DPDFRgbColorData *`A3DPDFTableStyleData.``m_pTextColor`
  `A3DPDFRgbColorData`*

  Text color.

  Use NULL to not define a specific color and take value from inheritance. Default value is black.

A3DPDFRgbColorData *`A3DPDFTableStyleData.``m_pBorderColor`
  `A3DPDFRgbColorData`*

  Border color.

  Use NULL to not define a specific color and take value from inheritance. Default value is black.

A3DInt32 `A3DPDFTableStyleData.``m_iBorderWidth`
  `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.

A3DInt32 `A3DPDFTableStyleData.``m_iPaddingBottom`
  `A3DInt32`

  Height of the padding area on the bottom.

  Use -1 to take value from inheritance. Default value is 2.

A3DInt32 `A3DPDFTableStyleData.``m_iPaddingLeft`
  `A3DInt32`

  Height of the padding area on the top.

  Use -1 to take value from inheritance. Default value is 2.

A3DInt32 `A3DPDFTableStyleData.``m_iPaddingRight`
  `A3DInt32`

  Width of the padding area on the right.

  Use -1 to take value from inheritance. Default value is 2.

A3DInt32 `A3DPDFTableStyleData.``m_iPaddingTop`
  `A3DInt32`

  Width of the padding area on the left.

  Use -1 to take value from inheritance. Default value is 2.

A3DPDFRgbColorData *`A3DPDFTableStyleData.``m_pBackgroundColor`
  `A3DPDFRgbColorData`*

  Background color.

  Use NULL to not define a specific color and take value from inheritance. Default value is no background color.

A3DPDFETableTextHorizontalAlign `A3DPDFTableStyleData.``m_eHorizAlignment`
  `A3DPDFETableTextHorizontalAlign`

  Horizontal alignment of the text inside the cell.

  Use kA3DPDFTableAlignHInherit to take value from inheritance. Default value is kA3DPDFTableAlignHCentered.

A3DPDFETableTextVerticalAlign `A3DPDFTableStyleData.``m_eVertAlignment`
  `A3DPDFETableTextVerticalAlign`

  Vertical alignment of the text inside the cell.

  Use kA3DPDFTableVInherit to take value from inheritance. Default value is kA3DPDFTableAlignVMiddle.

A3DInt32 `A3DPDFTableStyleData.``m_iRowHeight`
  `A3DInt32`

  Row height.

  Use -1 to take value from inheritance. This is an error if any row height is defined at any level.

A3DInt32 `A3DPDFTableStyleData.``m_iColumnWidth`
  `A3DInt32`

  Column width.

  -1 to take value from inheritance. This is an error if any column width is defined at any level.

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your multilingual generative AI assistant for documentation. Ask me anything about HOOPS Exchange in your own language, or choose a sample question below to start a conversation:

What is HOOPS Exchange?
What are the latest release notes for HOOPS Exchange?
How do I start evaluating HOOPS Exchange?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...