DynaPDF Manual - Page 444

Previous Page 443   Index   Next Page 445

Function Reference
Page 444 of 770
CIDFont
If true, a CID font is used to render the text. It is not possible to replace a
text with ReplacePageText() in this case. However, it is still possible to delete
the text. If the text should be replaced use either ReplacePageTextEx() or
WriteTextMatrixEx().
DrawMode
The draw mode used to render the text. See SetTextDrawMode() for further
information.
Leading
The leading is already included in the text transformation matrix tm. The
value of leading must not be considered to calculate the text position.
TextRise
The text rise is already included in the text transformation matrix tm. The
value is always 0.0.
WordSP
Current word spacing, info only.
CharSP
Current character spacing, info only.
HScale
Current horizontal scaling, info only.
LineWidth
The current line width; it can be ignored if the text is not stroked.
Text
The raw text line that was found in the content stream. This is a non-null-
terminated binary string; it can contain single or multi-byte characters.
This member should no longer be used to extract or replace text. Use the
member Kerning instead.
TextLen
The string length in bytes, not characters! If TextLen is zero no text was
found or an error occurred.
RawKern
The raw kerning array. The text in this array points directly into the
source text buffer. The strings are not null-terminated.
Kerning
Already translated UTF-16 Unicode kerning array. A kerning record
consists of the members Advance, Text (UTF-16), Length, and Width. The
member Advance represents the amount in which the text is moved on the
x-axis. Negative values move the cursor to the right, positive to the left.
Normal kerning between characters is usually always less than the half
space width which can be taken from the structure TPDFStack. This makes
it easy to determine whether a space character is emulated with kerning
space. Note that negative values move the cursor to right! A positive value
of Advance cannot emulate a space character because the cursor is moved
to the wrong direction. The parameter Text contains the Unicode text that
is not null-terminated. Length is the text length in characters. The text
 

Previous topic: GetPageObject (Rendering Engine), GetPageOrientation (Rendering Engine), GetPageText

Next topic: External CMaps