Platforms to show: All Mac Windows Linux Cross-Platform
Back to DynaPDFMBS class.
DynaPDFMBS.HaveDPartRoot as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 23.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
DPart stands for Document Parts. DParts are a feature of PDF/VT, a PDF format for the printing
industry.
The function should be used to determine whether a DPart structure is already in memory, before calling CreateDPartRoot() since the function would fail if this is the case.
An existing DPart structure can be extended with additional DPart nodes, but it is not yet possible to edit existing nodes.
If the document contains a DPartRoot dictionary, the return value is true or false otherwise.
See also HaveDPartRoot function in DynaPDF manual.
DynaPDFMBS.HaveOpenDoc as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Some examples using this method:
- /DynaPDF/Create PDF with Signature on Windows
- /DynaPDF/Hello World
- /DynaPDF/metafiles/metafiles
- /DynaPDF/signed pdfa/signed pdfa
- /DynaPDF/Table with Listbox auto width
- /DynaPDF/Tables/Table Images
- /DynaPDF/Tables/Table Text
- /DynaPDF/Tables/Table with Listbox
- /DynaPDF/text formatting/text formatting parallel
- /DynaPDF/text formatting/text formatting Unicode
See also HaveOpenDoc function in DynaPDF manual.
DynaPDFMBS.HaveOpenPage as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 11.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also HaveOpenPage function in DynaPDF manual.
DynaPDFMBS.HighlightAnnot(SubType as Integer, PosX as Double, PosY as Double, Width as Double, Height as Double, ColorValue as Integer, Author as string, Subject as string, Comment as string) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 8.7 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Some examples using this method:
See also HighlightAnnot function in DynaPDF manual.
DynaPDFMBS.HighlightAnnotAnsi(SubType as Integer, PosX as Double, PosY as Double, Width as Double, Height as Double, ColorValue as Integer, Author as string, Subject as string, Comment as string) as Integer Deprecated
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 8.7 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also HighlightAnnot function in DynaPDF manual.
DynaPDFMBS.HighlightOnAllPages(SearchText as string, ColorValue as Color, CaseInsenitive as boolean = false) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 14.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If CaseInsenitive is true, the case of letters is ignored (also umlauts and accents)
Searches on all pages in the document.
Returns number of times the text was found.
Some examples using this method:
DynaPDFMBS.HighlightOnCurrentPage(SearchText as string, ColorValue as Color, CaseInsenitive as boolean = false) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 14.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If CaseInsenitive is true, the case of letters is ignored (also umlauts and accents)
Use EditPage function to open the page before you search on it.
Returns number of times the text was found.
Some examples using this method:
DynaPDFMBS.MarkTemplateAsWatermark(TemplateHandle as Integer) as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 23.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The function adds additional metadata to a template (XObject type Form in PDF terms, see BeginTemplate() or BeginTransparencyGroup() for further information) so that PDF editors like Adobe Acrobat are able to identify the template as watermark.
Watermarks can be deleted with Acrobat and many other PDF editors. DynaPDF can delete such watermarks too with DeleteWatermark() or Optimize().
Returns true on success or false on failure.
See also MarkTemplateAsWatermark function in DynaPDF manual.
DynaPDFMBS.MovePage(source as Integer, dest as Integer) as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also MovePage function in DynaPDF manual.
DynaPDFMBS.MoveTo(PosX as Double, PosY 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 |
See also MoveTo function in DynaPDF manual.
DynaPDFMBS.TestGlyphs(FontHandle as Integer, Text as string) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 15.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The return value is the position of the first missing glyph, or -1 if all glyphs are available.
If the font uses a mixed 8/16 bit CJK code page that requires a conversion to Unicode (a code page that ends with "_Uni"), then the return value corresponds to the converted Unicode string and not to the CJK input string.
Some examples using this method:
- /DynaPDF/Create PDF with Arabic and Ligatures
- /DynaPDF/Create PDF with Glyphs
- /DynaPDF/Create PDF with text styles
See also TestGlyphs function in DynaPDF manual.
DynaPDFMBS.TestGlyphsAnsi(FontHandle as Integer, Text as string) as Integer Deprecated
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 15.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The return value is the position of the first missing glyph, or -1 if all glyphs are available.
If the font uses a mixed 8/16 bit CJK code page that requires a conversion to Unicode (a code page that ends with "_Uni"), then the return value corresponds to the converted Unicode string and not to the CJK input string.
The text parameter is converted to ANSI.
See also TestGlyphs function in DynaPDF manual.
DynaPDFMBS.TestPassword(PwdType as Integer, Value as String) as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 24.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The main purpose of the function is to test the file against the owner password if the encryption settings should be changed by the user. It is not meaningful to call this function for non-encrypted files. To determine whether a PDF file is encrypted call DynaPDF.GetInIsEncrypted.
See also TestPassword function in DynaPDF manual.
DynaPDFMBS.TextAnnot(PosX as Double, PosY as Double, Width as Double, Height as Double, Author as string, Text as string, Icon as Integer, Open as boolean) 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 and the author parameters are converted to unicode.
Some examples using this method:
See also TextAnnot function in DynaPDF manual.
DynaPDFMBS.TextAnnotAnsi(PosX as Double, PosY as Double, Width as Double, Height as Double, Author as string, Text as string, Icon as Integer, Open as boolean) 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 and the author parameters are converted to ANSI.
See also TextAnnot function in DynaPDF manual.
DynaPDFMBS.TranslateCoords(OriginX as Double, OriginY 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 |
Some examples using this method:
See also TranslateCoords function in DynaPDF manual.
DynaPDFMBS.Triangle(x1 as Double, y1 as Double, x2 as Double, y2 as Double, x3 as Double, y3 as Double, FillMode as Integer) as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Some examples using this method:
- /DynaPDF/Create PDF with gradients, overprint and device N colorspace
- /DynaPDF/Create PDF with LAB color
- /DynaPDF/Create PDF with paths
- /DynaPDF/Create PDF with transparency
- /DynaPDF/Font Test
- /DynaPDF/Million pages test/DynaPDF Database Invoice Example with 1000000 pages
See also Triangle function in DynaPDF manual.
DynaPDFMBS.UnLockLayer(layer as UInt32) as boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 12.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also UnLockLayer function in DynaPDF manual.
The items on this page are in the following plugins: MBS DynaPDF Plugin.