Platforms to show: All Mac Windows Linux Cross-Platform
Back to DynaPDFMBS class.
DynaPDFMBS.GetPageMode as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also GetPageMode function in DynaPDF manual.
DynaPDFMBS.GetPageNum as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also GetPageNum function in DynaPDF manual.
DynaPDFMBS.GetPageText(stack as DynaPDFStackMBS) as boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 7.7 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
InitStack must be called before you use GetPageText.
If you have problems with asian characters, please make sure you use SetCMapDir and load the CMAPs.
Requires DynaPDF Pro license.
Some examples using this method:
- /DynaPDF/Extract text
- /DynaPDF/text editing/delete text
- /DynaPDF/text editing/replace text
- /DynaPDF/Text extraction
See also GetPageText function in DynaPDF manual.
DynaPDFMBS.GetPageWidth as Double
| 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:
- /ChartDirector/simplePie with DynaPDF
- /DynaPDF/ComplexText/Complex Text
- /DynaPDF/ComplexText/Font Substitution
- /DynaPDF/Create PDF with object2d
- /DynaPDF/Create PDF with Picture file
- /DynaPDF/Extract page Text area
- /DynaPDF/JBig Test
- /DynaPDF/Letter/Web Letter
- /DynaPDF/Million pages test/Import page 1000000
- /DynaPDF/text formatting/text formatting Ansi
See also GetPageWidth function in DynaPDF manual.
DynaPDFMBS.GetPDFVersion as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Zero stand for PDF 1.0, one for PDF 1.1 and so on.
See also GetPDFVersion function in DynaPDF manual.
DynaPDFMBS.GetPDFVersionEx as DynaPDFVersionInfoMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 21.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Result includes:
| Major | PDF major version, e.g. 1 |
| Minor | PDF minor version, e.g. 7 |
| MainVer | Set only if the file conforms to a specific PDF standard, e.g. "PDF/X // 1a:2003", "PDF/A 3b", and so on. |
| SubVer | e.g. "ZUGFeRD 2.0", "Factur-X", and so on |
Returns nil in case of an error.
See also GetPDFVersionEx function in DynaPDF manual.
DynaPDFMBS.GetPrintSettings as DynaPDFPrintSettingsMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 8.7 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This is a PDF 1.7 extension.
See also GetPrintSettings function in DynaPDF manual.
DynaPDFMBS.GetResetAction(Handle as UInt32) as DynaPDFResetFormActionMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 15.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also GetResetAction function in DynaPDF manual.
DynaPDFMBS.GetResolution as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also GetResolution function in DynaPDF manual.
DynaPDFMBS.GetSaveNewImageFormat 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 GetSaveNewImageFormat function in DynaPDF manual.
DynaPDFMBS.GetSeparationInfo(byref Colorant as string, byref ColorSpace 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 GetSeparationInfo function in DynaPDF manual.
DynaPDFMBS.GetStrokeColor as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also GetStrokeColor function in DynaPDF manual.
DynaPDFMBS.GetSubmitAction(Handle as UInt32) as DynaPDFSubmitFormActionMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 15.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns nil in case of an error.
See also GetSubmitAction function in DynaPDF manual.
DynaPDFMBS.GetSysFontInfo as DynaPDFSysFontMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 15.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The function returns the fonts in the current font search order. That means if the search order is {fbtTrueType, fbtOpenType, fbtType1, fbtStdFont}, for example, then the function returns first all TrueType fonts sorted in ascending order, then all OpenType fonts, and so on.
Since standard fonts are no system fonts, these fonts are not returned.
See also:
Some examples using this method:
See also GetSysFontInfo function in DynaPDF manual.
DynaPDFMBS.GetSysFontInfo(PostscriptName as String) as DynaPDFSysFontMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 17.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns nil if font is not found.
See also:
See also GetSysFontInfo function in DynaPDF manual.
DynaPDFMBS.GetSysFontInfos as DynaPDFSysFontMBS()
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 16.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The function returns the fonts in the current font search order. That means if the search order is {fbtTrueType, fbtOpenType, fbtType1, fbtStdFont}, for example, then the function returns first all TrueType fonts sorted in ascending order, then all OpenType fonts, and so on.
Since standard fonts are no system fonts, these fonts are not returned.
See also:
Some examples using this method:
DynaPDFMBS.GetSysFontInfos(Name as String) as DynaPDFSysFontMBS()
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 17.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Matchs fonts by family name, full name or Postscript name.
The function returns the fonts in the current font search order. That means if the search order is {fbtTrueType, fbtOpenType, fbtType1, fbtStdFont}, for example, then the function returns first all TrueType fonts sorted in ascending order, then all OpenType fonts, and so on.
Since standard fonts are no system fonts, these fonts are not returned.
See also:
DynaPDFMBS.GetTabLen as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also GetTabLen function in DynaPDF manual.
DynaPDFMBS.GetTemplCount as Integer
| 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 GetTemplCount function in DynaPDF manual.
DynaPDFMBS.GetTemplHandle as Integer
| 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 GetTemplHandle function in DynaPDF manual.
DynaPDFMBS.GetTemplHeight(Handle as Integer) as Double
| 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:
- /ChartDirector/Place PDF Chart with DynaPDF
- /DynaPDF/DynaPDF Merge 2 to 1
- /DynaPDF/PlaceTemplate test
- /DynaPDF/Rotate rotated PDF back
See also GetTemplHeight function in DynaPDF manual.
DynaPDFMBS.GetTemplWidth(Handle as Integer) as Double
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If the function succeeds the return value is the width of the template. If the function fails the return value is a negative error code.
Some examples using this method:
- /ChartDirector/Place PDF Chart with DynaPDF
- /DynaPDF/DynaPDF Merge 2 to 1
- /DynaPDF/PlaceTemplate test
- /DynaPDF/Rotate rotated PDF back
See also GetTemplWidth function in DynaPDF manual.
DynaPDFMBS.GetTextBBox(Text as String) as DynaPDFRectMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 24.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The bounding box is computed from the outline of every glyph. However, the function does not consider the current text draw mode or bold or italic font style emulation.
Returns nil in case of an error.
See also GetTextBBox function in DynaPDF manual.
DynaPDFMBS.GetTextDrawMode as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also GetTextDrawMode function in DynaPDF manual.
DynaPDFMBS.GetTextFieldValue(Field as Integer, byref Value as string, byref DefValue as string) as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The strings may be ANSI or Unicode encoded.
See also GetTextFieldValue function in DynaPDF manual.
DynaPDFMBS.GetTextHeight(Align as Integer, aText as string) as Double
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 13.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
GetTextHeight does escape backslashes so no formatting commands are taken from the string.
The text parameter is converted to unicode.
DynaPDFMBS.GetTextHeightAnsi(Align as Integer, aText as string) as Double Deprecated
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 13.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
GetTextHeightAnsi does escape backslashes so no formatting commands are taken from the string.
The text parameter is converted to ANSI.
DynaPDFMBS.GetTextHeightEx(Width as Double, Align as Integer, aText as string) as Double
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 13.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
GetTextHeightEx does escape backslashes so no formatting commands are taken from the string.
The text parameter is converted to unicode.
Some examples using this method:
DynaPDFMBS.GetTextHeightExAnsi(Width as Double, Align as Integer, aText as string) as Double Deprecated
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 13.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
GetTextHeightExAnsi does escape backslashes so no formatting commands are taken from the string.
The text parameter is converted to ANSI.
DynaPDFMBS.GetTextRect(byref PosX as Double, byref PosY as Double, byref Width as Double, byref Height 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 GetTextRect function in DynaPDF manual.
DynaPDFMBS.GetTextRise as Double
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also GetTextRise function in DynaPDF manual.
DynaPDFMBS.GetTextScaling as Double
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also GetTextScaling function in DynaPDF manual.
DynaPDFMBS.GetTextWidth(aText as string) as Double
| 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:
- /Barcode/generate/Create PDF with Barcodes
- /DynaPDF/Create PDF with Annotations
- /DynaPDF/Create PDF with Bookmarks
- /DynaPDF/Create PDF with Circle Text
- /DynaPDF/Create PDF with demo string
- /DynaPDF/Create PDF with Layers
- /DynaPDF/Create PDF with Line
- /DynaPDF/Font Test
- /DynaPDF/Million pages test/DynaPDF Database Invoice Example with 1000000 pages
- /DynaPDF/Table with Listbox auto width
See also GetTextWidth function in DynaPDF manual.
DynaPDFMBS.GetTextWidthAnsi(aText as string) as Double 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 GetTextWidth function in DynaPDF manual.
DynaPDFMBS.GetTransparentColor as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also GetTransparentColor function in DynaPDF manual.
DynaPDFMBS.GetTrapped 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 GetTrapped function in DynaPDF manual.
DynaPDFMBS.GetTypoLeading as double
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 21.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This is sTypoAscender – sTypoDescender + sTypoLineGap of the OS/2 table of TrueType and OpenType fonts. The value is scaled to the current font size. Type1 fonts do not support these metrics.
The function can be called after a font was activated in the graphics state, e.g. with SetFont(), SetFontEx(), SetCIDFont(), or ChangeFont().
If typographic metrics are not available the return value is Ascent – Descent. If the value is smaller than the font size then the font size is returned.
If the function succeeds the return value is the typographic leading of the active font, this is a value greater zero. If the function fails the return value is a negative error code.
Some examples using this method:
See also GetTypoLeading function in DynaPDF manual.
DynaPDFMBS.GetURIAction(index as Integer) as DynaPDFURIActionMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 17.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Index is from 0 to GetActionCount-1.
See also GetURIAction function in DynaPDF manual.
DynaPDFMBS.GetUseExactPwd 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 GetUseExactPwd function in DynaPDF manual.
DynaPDFMBS.GetUseGlobalImpFiles 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 GetUseGlobalImpFiles function in DynaPDF manual.
DynaPDFMBS.GetUserRights as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also GetUserRights function in DynaPDF manual.
DynaPDFMBS.GetUserUnit as single
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
A user unit acts like a scaling factor. The page format and all page coordinates are multiplied with this factor in a viewer application. The default size of a PDF unit is 1/72 inch and the default user unit is 1.0. User units can be useful if the page format would be too large to be expressed in standard PDF units. The largest page format in PDF is limited to 14400 units or 200 inches. This limit can be extended with the user unit.
The largest value that is supported is 75.0 which results in a maximum page format of 15,000 x 15,000 inches or 1,800,000 units.
Use EditPage() to open a page if needed to inspect.
See also GetUserUnit function in DynaPDF manual.
DynaPDFMBS.GetUseStdFonts 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 GetUseStdFonts function in DynaPDF manual.
DynaPDFMBS.GetUsesTransparency(Page as Integer = -1) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 18.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This is no quick check as GetDocUsesTransparency() applies. The function parses the page or pages to determine whether transparent objects are relly used.
To check whether a specific page uses transparency set the parameter PageNum to the wished page number. The first page is denoted by 1. To check the entire PDF file set PageNum to -1.
The return value is a bit mask on success (a positive integer value), or a negative error code on failure.
The following flags are defined
- 0: The page or document uses no transparency.
- 1: The content stream of a page contains transparent objects.
- 2: A page defines the blending color space (Group dictionary).
- 4: A page contains transparent annotations or form fields.
See also GetUsesTransparency function in DynaPDF manual.
DynaPDFMBS.GetUseSystemFonts 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 GetUseSystemFonts function in DynaPDF manual.
DynaPDFMBS.GetUseTransparency 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 GetUseTransparency function in DynaPDF manual.
DynaPDFMBS.GetUseVisibleCoords 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 GetUseVisibleCoords function in DynaPDF manual.
DynaPDFMBS.GetViewerPreferences(byref Preference as Integer, byref AddVal 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 GetViewerPreferences function in DynaPDF manual.
The items on this page are in the following plugins: MBS DynaPDF Plugin.