Platforms to show: All Mac Windows Linux Cross-Platform
Back to DynaPDFMBS class.
DynaPDFMBS.WatermarkAnnot(PosX as Double, PosY as Double, Width as Double, Height as Double) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 17.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Watermark annotations have no interactive elements like other annotation types. This property is useful in many cases because it is usually not possible to select or change the contents of a watermark annotation in viewer applications.
The annotation has no appearance after it was created. Call CreateAnnotAP to create an appearance template for the annotation. After the appearance template was created you can draw text, images or vector graphics into it. The template must be closed with EndTemplate when finished. It is also possible to import an external page or EMF contents into the template.
Watermark annotations can be shared on multiple pages. To place the annotation on other pages call AddAnnotToPage.
If the function succeeds the return value is the annotation handle, a value greater or equal zero. If the function fails the return value is a negative error code.
Some examples using this method:
See also WatermarkAnnot function in DynaPDF manual.
DynaPDFMBS.WebLink(PosX as Double, PosY as Double, Width as Double, Height as Double, aText as string) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The text parameter is converted to unicode.
See also WebLink function in DynaPDF manual.
DynaPDFMBS.WebLinkAnsi(PosX as Double, PosY as Double, Width as Double, Height as Double, aText as string) as Integer Deprecated
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 8.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The text parameter is converted to ANSI.
See also WebLink function in DynaPDF manual.
DynaPDFMBS.WriteAngleText(aText as string, Angle as Double, PosX as Double, PosY as Double, Radius as Double, YOrigin as Double) as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The text parameter is converted to unicode.
See also:
Some examples using this method:
- /DynaPDF/Create PDF with Angle Rectangles
- /DynaPDF/Create PDF with Angle Text
- /DynaPDF/Create PDF with Circle Text
See also WriteAngleText function in DynaPDF manual.
DynaPDFMBS.WriteAngleText(glyphs() as Integer, Angle as Double, PosX as Double, PosY as Double, Radius as Double, YOrigin as Double) as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 10.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This version takes an array of integers. So if you are using the kcpUnicode on SetFont, please pass an array of unicode codepoints. If you use kcpGlyphIndexes, please pass an array of glyph values.
See also:
See also WriteAngleText function in DynaPDF manual.
DynaPDFMBS.WriteAngleTextAnsi(aText as string, Angle as Double, PosX as Double, PosY as Double, Radius as Double, YOrigin as Double) as Boolean Deprecated
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 8.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The text parameter is converted to ANSI, so use only with SetFont with kcp1252.
See also WriteAngleText function in DynaPDF manual.
DynaPDFMBS.WriteAngleTextDirect(aText as string, Angle as Double, PosX as Double, PosY as Double, Radius as Double, YOrigin as Double) as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 10.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The text parameter is not converted, so pass a string in the right encoding.
See also:
DynaPDFMBS.WriteAngleTextDirect(glyphs() as Integer, Angle as Double, PosX as Double, PosY as Double, Radius as Double, YOrigin as Double) as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 10.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This version takes an array of integers. So pass in values in the encoding you are using. This can be glyph values or bytes in any encoding you selected in the SetFont method.
See also:
DynaPDFMBS.WriteFText(Align as Integer, aText as string) as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The text parameter is converted to unicode.
The PageBreak event is called when needed by the plugin.
See also:
Some examples using this method:
- /ChartDirector/simplePie with DynaPDF
- /DynaPDF/Create PDF and Email
- /DynaPDF/Create PDF with Errors
- /DynaPDF/Create PDF with FileLink
- /DynaPDF/Create PDF with Image FileLink
- /DynaPDF/Create PDF with Signature on Windows
- /DynaPDF/Create PDF with Trace
- /DynaPDF/Letter/Web Letter
- /DynaPDF/PDFPreview Window
- /DynaPDF/signature appearance/signature appearance
See also WriteFText function in DynaPDF manual.
DynaPDFMBS.WriteFText(Align as Integer, glyphs() as Integer) as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 10.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This version takes an array of integers. So if you are using the kcpUnicode on SetFont, please pass an array of unicode codepoints. If you use kcpGlyphIndexes, please pass an array of glyph values.
The PageBreak event is called when needed by the plugin.
See also:
See also WriteFText function in DynaPDF manual.
DynaPDFMBS.WriteFTextAnsi(Align as Integer, aText as string) as Boolean Deprecated
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 8.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The text parameter is converted to ANSI, so use only with SetFont with kcp1252.
The PageBreak event is called when needed by the plugin.
See also WriteFText function in DynaPDF manual.
DynaPDFMBS.WriteFTextDirect(Align as Integer, aText as string) as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 10.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The text parameter is not converted, so pass a string in the right encoding.
The PageBreak event is called when needed by the plugin.
See also:
DynaPDFMBS.WriteFTextDirect(Align as Integer, glyphs() as Integer) as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 10.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This version takes an array of integers. So pass in values in the encoding you are using. This can be glyph values or bytes in any encoding you selected in the SetFont method.
The PageBreak event is called when needed by the plugin.
See also:
DynaPDFMBS.WriteFTextEx(PosX as Double, PosY as Double, Width as Double, Height as Double, Align as Integer, aText as string) as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The text parameter is converted to unicode.
The PageBreak event is called when needed by the plugin.
See also:
Some examples using this method:
- /DynaPDF/ComplexText/Alternate Fonts
- /DynaPDF/ComplexText/Complex Text
- /DynaPDF/Create PDF with Arabic
- /DynaPDF/Create PDF with Bookmarks
- /DynaPDF/Create PDF with Layers Languages
- /DynaPDF/Create PDF with rotated text
- /DynaPDF/Create PDF with Signature on Windows
- /DynaPDF/Create PDF with subscript and superscript
- /DynaPDF/DynaPDF Database Invoice Example
- /DynaPDF/signature appearance/signature appearance
See also WriteFTextEx function in DynaPDF manual.
DynaPDFMBS.WriteFTextEx(PosX as Double, PosY as Double, Width as Double, Height as Double, Align as Integer, glyphs() as Integer) as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 10.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This version takes an array of integers. So if you are using the kcpUnicode on SetFont, please pass an array of unicode codepoints. If you use kcpGlyphIndexes, please pass an array of glyph values.
The PageBreak event is called when needed by the plugin.
See also:
See also WriteFTextEx function in DynaPDF manual.
DynaPDFMBS.WriteFTextExAnsi(PosX as Double, PosY as Double, Width as Double, Height as Double, Align as Integer, aText as string) as Boolean Deprecated
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 8.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The text parameter is converted to ANSI, so use only with SetFont with kcp1252.
The PageBreak event is called when needed by the plugin.
See also WriteFTextEx function in DynaPDF manual.
DynaPDFMBS.WriteFTextExDirect(PosX as Double, PosY as Double, Width as Double, Height as Double, Align as Integer, aText as string) as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 10.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The text parameter is not converted, so pass a string in the right encoding.
The PageBreak event is called when needed by the plugin.
See also:
DynaPDFMBS.WriteFTextExDirect(PosX as Double, PosY as Double, Width as Double, Height as Double, Align as Integer, glyphs() as Integer) as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 10.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This version takes an array of integers. So pass in values in the encoding you are using. This can be glyph values or bytes in any encoding you selected in the SetFont method.
The PageBreak event is called when needed by the plugin.
See also:
DynaPDFMBS.WriteStyledText(Align as Integer, StyledText as StyledText, LeadingFactor as double = -1) as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 16.5 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Same as WriteFText, but calls ConvertStyledText for you to convert the styled text to formatting commands.
LeadingFactor: Added in v21.0. If you pass a value > 0, the plugin will add \LD[] commands to styled text to set leading relative to font size. This way you define the spacing beteween lines. e.g. 1.2.
If you have a problem with the conversion, you can always use ConvertStyledText function directly and inspect what it generates. And you can of course modify it and e.g. convert "* " on a beginning of a line to a list.
See also:
See also WriteStyledText function in DynaPDF manual.
DynaPDFMBS.WriteStyledText(Align as Integer, TextArea as TextArea, LeadingFactor as double = -1) as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 16.5 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop only |
Same as WriteFText, but calls ConvertStyledText for you to convert the styled text to formatting commands.
LeadingFactor: Added in v21.0. If you pass a value > 0, the plugin will add \LD[] commands to styled text to set leading relative to font size. This way you define the spacing beteween lines. e.g. 1.2.
If you have a problem with the conversion, you can always use ConvertStyledText function directly and inspect what it generates. And you can of course modify it and e.g. convert "* " on a beginning of a line to a list.
See also:
- WriteStyledText(Align as Integer, StyledText as StyledText, LeadingFactor as double = -1) as Boolean
See also WriteStyledText function in DynaPDF manual.
DynaPDFMBS.WriteStyledTextEx(PosX as Double, PosY as Double, Width as Double, Height as Double, Align as Integer, StyledText as StyledText, LeadingFactor as double = -1) as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 16.5 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Same as WriteFTextEx, but calls ConvertStyledText for you to convert the styled text to formatting commands.
LeadingFactor: Added in v21.0. If you pass a value > 0, the plugin will add \LD[] commands to styled text to set leading relative to font size. This way you define the spacing beteween lines. e.g. 1.2.
If you have a problem with the conversion, you can always use ConvertStyledText function directly and inspect what it generates. And you can of course modify it and e.g. convert "* " on a beginning of a line to a list.
See also:
Some examples using this method:
See also WriteStyledTextEx function in DynaPDF manual.
DynaPDFMBS.WriteStyledTextEx(PosX as Double, PosY as Double, Width as Double, Height as Double, Align as Integer, TextArea as TextArea, LeadingFactor as double = -1) as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 16.5 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop only |
Same as WriteFTextEx, but calls ConvertStyledText for you to convert the styled text to formatting commands.
LeadingFactor: Added in v21.0. If you pass a value > 0, the plugin will add \LD[] commands to styled text to set leading relative to font size. This way you define the spacing beteween lines. e.g. 1.2.
If you have a problem with the conversion, you can always use ConvertStyledText function directly and inspect what it generates. And you can of course modify it and e.g. convert "* " on a beginning of a line to a list.
See also:
See also WriteStyledTextEx function in DynaPDF manual.
DynaPDFMBS.WriteText(PosX as Double, PosY as Double, aText as string) as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The text parameter is converted to unicode.
See also:
See also WriteText function in DynaPDF manual.
DynaPDFMBS.WriteText(PosX as Double, PosY as Double, glyphs() as Integer) as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 10.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This version takes an array of integers. So if you are using the kcpUnicode on SetFont, please pass an array of unicode codepoints. If you use kcpGlyphIndexes, please pass an array of glyph values.
See also:
See also WriteText function in DynaPDF manual.
DynaPDFMBS.WriteTextAnsi(PosX as Double, PosY as Double, aText as string) as Boolean Deprecated
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 8.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The text parameter is converted to ANSI, so use only with SetFont with kcp1252.
See also WriteText function in DynaPDF manual.
DynaPDFMBS.WriteTextDirect(PosX as Double, PosY as Double, aText as string) as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 10.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The text parameter is not converted, so pass a string in the right encoding.
See also:
DynaPDFMBS.WriteTextDirect(PosX as Double, PosY as Double, glyphs() as Integer) as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 10.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This version takes an array of integers. So pass in values in the encoding you are using. This can be glyph values or bytes in any encoding you selected in the SetFont method.
See also:
DynaPDFMBS.WriteTextMatrix(Matrix as DynaPDFMatrixMBS, glyphs() as Integer) as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 10.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This version takes an array of integers. So if you are using the kcpUnicode on SetFont, please pass an array of unicode codepoints. If you use kcpGlyphIndexes, please pass an array of glyph values.
See also:
Some examples using this method:
See also WriteTextMatrix function in DynaPDF manual.
DynaPDFMBS.WriteTextMatrix(Matrix as DynaPDFMatrixMBS, Text as string) as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The text parameter is converted to unicode.
See also:
See also WriteTextMatrix function in DynaPDF manual.
DynaPDFMBS.WriteTextMatrixAnsi(Matrix as DynaPDFMatrixMBS, Text as string) as Boolean Deprecated
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 8.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The text parameter is converted to ANSI, so use only with SetFont with kcp1252.
See also WriteTextMatrix function in DynaPDF manual.
DynaPDFMBS.WriteTextMatrixDirect(Matrix as DynaPDFMatrixMBS, glyphs() as Integer) as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 10.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This version takes an array of integers. So pass in values in the encoding you are using. This can be glyph values or bytes in any encoding you selected in the SetFont method.
See also:
DynaPDFMBS.WriteTextMatrixDirect(Matrix as DynaPDFMatrixMBS, Text as string) as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 10.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The text parameter is not converted, so pass a string in the right encoding.
See also:
The items on this page are in the following plugins: MBS DynaPDF Plugin.