Attributes of a PDE text element.
Declaration:
|
Copy Code |
typedef struct tagAT_PDE_TEXTSTATE
{
UINT wasSetFlags;
AT_PDF_FIXED charSpacing;
AT_PDF_FIXED wordSpacing;
LONG renderMode;
AT_PDF_FIXED fontSize;
AT_PDF_FIXED hScale;
AT_PDF_FIXED textRise;
} AT_PDE_TEXTSTATE;
typedef AT_PDE_TEXTSTATE FAR* LPAT_PDE_TEXTSTATE;
|
Members:
UINT |
wasSetFlags |
enumIGPDEGraphicStateWasSetFlags indicating if an attribute has been set.
|
Support for these flags is not complete. For compatibility, you should set them, but do not depend on reading their values back. The intended use is with XObject Forms to indicate whether the value is inherited or explicitly set. PDFEdit ignores the wasSetFlags flag, so you must initialize the AT_PDE_TEXTSTATE fields. |
|
AT_PDF_FIXED |
charSpacing |
Character spacing was set, corresponding to the Tc operator. |
AT_PDF_FIXED |
wordSpacing |
Word spacing, corresponding to the Tw operator. |
LONG |
renderMode |
Text rendering mode, corresponding to the Tr operator. |
AT_PDF_FIXED |
fontSize |
Default is 1. |
AT_PDF_FIXED |
hScale |
Default=100 (==100%) |
AT_PDF_FIXED |
textRise |
Specifies the distance, in text space units that are not scaled, to move the baseline up or down from its default location. See Section 5.2.6 in the PDF Reference. |