
##############
A3DPDFTextData
##############

.. c:struct:: A3DPDFTextData

   :c:struct:`~A3DPDFTextData` structure. 
   
   Structure to specify a text line: content and formatting options (color, font used and font size). Specific to this function, the text provided is not in utf8, but is a char\* with values 0x00 to 0xFF. The encoding of characters is specified as described in PDF norm annex D ("Character Sets and Encodings"). Latin fonts (Times, Helvetica, Courier families) are encoded with WinAnsiEncoding; character set is described in annex D.2. Symbol and ZapfDingbats have a built-in encoding; character set is described in annex D.5 and D.6.
   
   
      4.1 
   
   
   
   Index
   =====
   
   .. rubric:: Variables
   
   
   .. rst-class:: api-xref-list
   
   
   * :c:member:`~A3DPDFTextData.m_pcTextString`
   * :c:member:`~A3DPDFTextData.m_eFontName`
   * :c:member:`~A3DPDFTextData.m_iFontSize`
   * :c:member:`~A3DPDFTextData.m_sColor`
   
   



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

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


.. c:member:: A3DUTF8Char* A3DPDFTextData.m_pcTextString

      .. rst-class:: sig-pretty-signature
      
         | :c:type:`~A3DUTF8Char`\ *
      
      Content of the text string. 
      
      Note this is encoded as char\* and not utf8. It should be a single line text string (no carriage return supported). 
      



.. c:member:: A3DPDFEFontName A3DPDFTextData.m_eFontName

      .. rst-class:: sig-pretty-signature
      
         | :c:enum:`~A3DPDFEFontName`
      
      Font name of the text. 
      



.. c:member:: A3DInt32 A3DPDFTextData.m_iFontSize

      .. rst-class:: sig-pretty-signature
      
         | :c:type:`~A3DInt32`
      
      Size of the font. 
      



.. c:member:: A3DPDFRgbColorData A3DPDFTextData.m_sColor

      .. rst-class:: sig-pretty-signature
      
         | :c:struct:`~A3DPDFRgbColorData`
      
      Color of the text. 
      




