< Home

< Programming Guide

< Supported File Formats

REFERENCE MANUAL

Data Fields
A3DPDFTextDataEx Struct Reference

A3DPDFTextDataEx structure. More...

Data Fields

A3DUns16 m_usStructSize
 
A3DUTF8Charm_pcTextString
 
A3DUTF8Charm_pcFontName
 
A3DUTF8Charm_pcEncodingName
 
A3DPDFELanguage m_eLanguage
 
A3DInt32 m_iFontSize
 
A3DPDFRgbColorData m_sColor
 
A3DBool m_bEmbedFontInPDF
 

Detailed Description

A3DPDFTextDataEx structure.

Structure to specify a text line with extended fonts and languages. The font needs to be available in C:\Windows\Fonts directory on the machine where HOOPS Publish is run. Depending on the characters used in the string, the font must be chosen, as well as the according language.

Version
5.0

Field Documentation

A3DUns16 A3DPDFTextDataEx::m_usStructSize

Reserved; must be initialized with A3D_INITIALIZE_DATA.

A3DUTF8Char* A3DPDFTextDataEx::m_pcTextString

Content of the text string. It should be a single line text string (no carriage return supported).

A3DUTF8Char* A3DPDFTextDataEx::m_pcFontName

Font name of the text.

A3DUTF8Char* A3DPDFTextDataEx::m_pcEncodingName

Set null to keep default treatment. Supported encoding are "WinAnsiEncoding", "StandardEncoding", "MacRomanEncoding", "MacExpertEncoding", or "PDFDocEncoding" (see PDF specifications for more details). If NULL, the encoding is tentatively retrieved from m_eLanguage. The result is uncertain.

A3DPDFELanguage A3DPDFTextDataEx::m_eLanguage

Language used for the text string.

A3DInt32 A3DPDFTextDataEx::m_iFontSize

Size of the font.

A3DPDFRgbColorData A3DPDFTextDataEx::m_sColor

Color of the text.

A3DBool A3DPDFTextDataEx::m_bEmbedFontInPDF

If true, the font will be embedded in the PDF document, no need to have the font on the computer for the one who will open the document.