A PDText is a graphic object (a subclass of PDGraphic) representing one or more character strings on a page.
For details, see the following sections in the PDF Reference:
- Section 4.1, Graphic Objects.
- Section 5.3, Text Objects.
Like paths, text can be stroked or filled, and can serve as a clipping path.
There are PDText methods to access the text-specific parameters in the graphics state. See Section 4.3,
Graphics State, in the PDF Reference, for a discussion of graphics state.
Product availability: All |
Platform availability: All |
Syntax
Product availability: All |
Platform availability: All |
Syntax
typedef struct _t_PDGraphic* PDText;
File: PDExpT.h |
Line: 2407 |
Product availability: All |
Platform availability: All |
Syntax
File: PDExpT.h |
Line: 2546 |
Product availability: All |
Platform availability: All |
Syntax
File: PDExpT.h |
Line: 2546 |
Product availability: All |
Platform availability: All |
Syntax
A data structure containing information about the current text state.
See Also
File: PDExpT.h |
Line: 2519 |
Elements
| font | Text font. |
|
| charSpacing | Character spacing. |
|
| wordSpacing | Word spacing. |
|
| horizontalScale | Horizontal scaling. |
|
| leading | Leading. |
|
| textRise | Text rise. |
|
| textSize | Text font size. |
|
| renderMode | Text rendering mode. |
|
| textMatrix | Text matrix. |
Product availability: All |
Platform availability: All |
Syntax
Enumerates the strings of a text object, calling a procedure for each string. The PDText object may be obtained from the PDGraphicEnumTextProc() callback of PDGraphicEnumMonitor.
Parameters
| text — | IN/OUT The text object whose strings are enumerated. |
|
| enumProc — | IN/OUT A user-supplied callback to call for each text string in the text object. Enumeration ends if enumProc returns false . |
|
| clientData — | IN/OUT A pointer to user-supplied data to pass to enumProc each time it is called. |
Since
File: PDProcs.h |
Line: 3605 |
Product availability: All |
Platform availability: All |
Syntax
Gets the text state for a text object. See Section 5.2 in the PDF Reference for a discussion of the text state parameters.
Parameters
| obj — | IN/OUT The text object whose text state is obtained. |
|
| stateP — | IN/OUT (Filled by the method) A pointer to a PDTextState structure containing the text state information. |
|
| stateLen — | IN/OUT It must be sizeof(PDTextState) . |
Since
File: PDProcs.h |
Line: 3619 |
© 2004-2013 Adobe Systems Incorporated. All rights reserved.
Thu Jan 21 2016, 11:19 AM IST