Adds text lines in the page. More...
Data Structures | |
| struct | A3DPDFTextData |
| A3DPDFTextData structure. More... | |
| struct | A3DPDFTextDataEx |
| A3DPDFTextDataEx structure. More... | |
Enumerations | |
| enum | A3DPDFEFontName { kA3DPDFFontTimesRoman =0, kA3DPDFFontTimesItalic, kA3DPDFFontTimesBold, kA3DPDFFontTimesBoldItalic, kA3DPDFFontHelvetica, kA3DPDFFontHelveticaOblique, kA3DPDFFontHelveticaBold, kA3DPDFFontHelveticaBoldOblique, kA3DPDFFontCourier, kA3DPDFFontCourierOblique, kA3DPDFFontCourierBold, kA3DPDFFontCourierBoldOblique } |
| Different predefined fonts. More... | |
| enum | A3DPDFELanguage { kA3DPDFASCII, kA3DPDFEastEuropeanRoman, kA3DPDFCyrillic, kA3DPDFGreek, kA3DPDFTurkish, kA3DPDFHebrew, kA3DPDFArabic, kA3DPDFBaltic, kA3DPDFChineseTraditional, kA3DPDFChineseSimplified, kA3DPDFJapanese, kA3DPDFKorean } |
| Languages supported for text strings. More... | |
Functions | |
| A3DStatus | A3DPDFTextCreate (A3DPDFDocument *pDoc, const A3DPDFTextData *pTextData, A3DPDFText **ppText) |
| Function to create a text object. More... | |
| A3DStatus | A3DPDFTextCreateEx (A3DPDFDocument *pDoc, const A3DPDFTextDataEx *pTextDataEx, A3DPDFText **ppText) |
| Function to create a text object with extended fonts and languages. More... | |
Detailed Description
Adds text lines in the page.
This module describes the functions and structures that allow you to add Text lines in the page.
Enumeration Type Documentation
| enum A3DPDFEFontName |
Different predefined fonts.
These fonts are automatically supported by default by Adobe Reader. Nothing specific is required to display these fonts.
- Version
- 4.1
| enum A3DPDFELanguage |
Languages supported for text strings.
- Version
- 5.0
Function Documentation
| A3DStatus A3DPDFTextCreate | ( | A3DPDFDocument * | pDoc, |
| const A3DPDFTextData * | pTextData, | ||
| A3DPDFText ** | ppText | ||
| ) |
Function to create a text object.
The text object is primarily created with this function, and it should be positioned on the page with the function A3DPDFPageInsertText.
- Parameters
-
[in,out] pDoc The Document object to work with. [in] pTextData The text parameters. [out] ppText The Text object created.
- Returns
- A3D_SUCCESS
- Version
- 4.1
| A3DStatus A3DPDFTextCreateEx | ( | A3DPDFDocument * | pDoc, |
| const A3DPDFTextDataEx * | pTextDataEx, | ||
| A3DPDFText ** | ppText | ||
| ) |
Function to create a text object with extended fonts and languages.
The text object is primarily created with this function, and it should be positioned on the page with the function A3DPDFPageInsertText. If the font can't be found in the directory C:\Windows\Fonts, then the function returns an A3DPDF_CANNOT_FIND_FONT (-1000016) error. WARNING: the initialization function A3DPDFInitializePDFLibAndResourceDirectory must be called before using this function.
- Parameters
-
[in] pDoc The Document object to work with. [in] pTextDataEx The text parameters. [out] ppText The Text object created.
- Returns
- A3D_SUCCESS
- Version
- 5.0
