Platforms to show: All Mac Windows Linux Cross-Platform

Back to DynaPDFStackMBS class.

DynaPDFStackMBS.CharSP as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Current character spacing, info only.

(Read only property)

DynaPDFStackMBS.CIDFont as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
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().
(Read only property)

DynaPDFStackMBS.ConvColors as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All

If true (default), all colors are converted to the destination color space
DestSpace.

The default color space is DeviceRGB. This variable can be changed after the structure has been initialized with InitStack(). If set to false, colors of complex color spaces are still converted into the alternate color space but the color space can then be changed arbitrary often. See also the description of FillCS.
(Read and Write property)

DynaPDFStackMBS.ctm as DynaPDFMatrixMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The transformation matrix.

Pre-multiplied global transformation matrix.
(Read only property)

DynaPDFStackMBS.DeleteKerningAt as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
This member can be used in combination with ReplacePageText().

ReplacePageText() deletes or replaces normally always a complete text record but this is often not required especially if a text must be deleted or replaced in the middle or end of a kerning array. To make text replacement easier it is possible to preserve an arbitrary number of kerning records from deletion. The value of DeleteKerningAt represents the first array index which should be deleted. All kerning records above this index will be deleted too. Take a look into the demo examples/edit_text which is delivered with DynaPDF to determine how this member can be used.
(Read and Write property)

DynaPDFStackMBS.DestSpace as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The destination color space in which all colors should be converted.

If
ConvColor is set to false, the value of this member is ignored. If the destination color space should be DeviceCMYK initialize the members FillColor and StrokeColor with PDF_CMYK(0,0,0,255); which represents black.
(Read and Write property)

DynaPDFStackMBS.DrawMode as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The draw mode used to render the text.

See SetTextDrawMode() for further information.
(Read only property)

DynaPDFStackMBS.Embedded as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
If true, the font is embedded.

This information is very important if the text should be replaced. The function ReplacePageText() can be used if the font is not embedded and if the member CIDFont is false. Otherwise, the function ReplacePageTextEx() or WriteTextMatrixEx() must be used to replace the text, see the examples on the following pages for further information.
(Read only property)

DynaPDFStackMBS.FillColor as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The fill color represents the text color if the text draw mode is dmNormal.

Depending on the draw mode the fill and stroke color can be invoked to
render the text.
(Read only property)

DynaPDFStackMBS.FillCS as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All

This is the current color space in which the color value of FillColor is
defined.

If ConvColor is set to true (default) the value is always equal to
DestSpace. If ConvColor is set to false the fill color is still returned in a
device color space but the color space can be changed arbitrary often.
Colors of complex color spaces, such as Separation or DeviceN, are always
converted into the alternate color space. If the original or alternate color
space is an ICC based color space the color value is returned as is and the
color space is set depending on the number of components. The ICC profile
is not invoked to calculate the color value in the device color space. Future
versions of DynaPDF maybe use the ICC profile to convert the color into
device color space.
(Read only property)

DynaPDFStackMBS.Font as DynaPDFFontMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 11.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Font object used to print the string.

Deprecated. Better use FontInfo property.

Reading this property creates a new object each time.
Please put object in local variable and avoid querying the property value several times.
(Read only property)

DynaPDFStackMBS.FontFlags as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The PDF font flags.

(Read and Write property)

DynaPDFStackMBS.FontHandle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 17.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The internal font object handle.

In DynaPDF documentation named IFont, a pointer to the C object for the font.
(Read only property)

DynaPDFStackMBS.FontInfo as DynaPDFFontInfoMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 16.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Font object used to print the string.

Reading this property creates a new object each time.
Please put object in local variable and avoid querying the property value several times.
(Read only property)

DynaPDFStackMBS.FontSize as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The font size used to display the text.

(Read only property)

DynaPDFStackMBS.HScale as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Current horizontal scaling, info only.

(Read only property)

DynaPDFStackMBS.KerningCount as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The number of kerning records.

RawKern and Kerning contain always the same number of records.
(Read only property)

Some examples using this property:

DynaPDFStackMBS.Leading as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The leading is already included in the text transformation matrix tm.

The value of leading must not be considered to calculate the text position.
(Read only property)

DynaPDFStackMBS.LineWidth as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The current line width; it can be ignored if the text is not stroked.

(Read only property)

DynaPDFStackMBS.SpaceWidth as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The space width.

The space width can be used to determine whether a space character is
emulated at a given position. A default space width is set if the font does not
contain a space character. Note that many documents emulate spaces with
kerning space. Such documents contain usually no space character. It is
usually best to use the half space width to determine whether a space
character is emulated. This is especially important if a document uses
condensed fonts which contain no space character.
(Read only property)

DynaPDFStackMBS.StrokeColor as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The stoke color.

The stroke color can be ignored if the text draw mode is not dmStroke,
dmFillStroke, dmStrokeClip or dmFillStrokeClip since it is then not used to
render the text.
(Read only property)

DynaPDFStackMBS.StrokeCS as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All

This is the current color space in which the color value of StrokeColor is
defined.

The color space is set in an identical manner like FillCS.
(Read only property)

DynaPDFStackMBS.Text as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The raw text line that was found in the content stream.

This string can contain single or multi-byte characters. This member should no longer be used to extract or replace text. Use the Kerning array instead.
(Read only property)

DynaPDFStackMBS.TextLen as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The string length in bytes, not characters!

If TextLen is zero no text was found or an error occurred.
(Read only property)

Some examples using this property:

DynaPDFStackMBS.TextRise as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The text rise is already included in the text transformation matrix tm.

The
value is always 0.0.
(Read only property)

DynaPDFStackMBS.TextWidth as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The text width measured in text space.

This is the width of the entire kerning array incl. kerning space.
(Read only property)

DynaPDFStackMBS.tm as DynaPDFMatrixMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The transformation matrix.

Pre-multiplied text transformation matrix.
(Read only property)

DynaPDFStackMBS.WordSP as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Current word spacing, info only.

(Read only property)

DynaPDFStackMBS.x as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The position.

These members are no longer used. All positioning operators are already
included in the text transformation matrix tm.
(Read only property)

DynaPDFStackMBS.y as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The position.

These members are no longer used. All positioning operators are already
included in the text transformation matrix tm.
(Read only property)

The items on this page are in the following plugins: MBS DynaPDF Plugin.


The biggest plugin in space...