Platforms to show: All Mac Windows Linux Cross-Platform
Back to DynaPDFMBS class.
DynaPDFMBS.GetOCG(Handle as UInt32) as DynaPDFOCGMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 15.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
An OCG handle is a simple array index. You can loop over all available OCGs from 0 to GetOCGCount - 1.
If the member HaveContUsage is true, the OCG contains a Content Usage dictionary. The contents of this dictionary can be accessed with the function GetOCGContUsage. A Content Usage dictionary contains additional information about a layer or OCG.
If the OCG is also included in an application event, this is the case if AppEvent is non-zero, then the Content Usage dictionary is used to control the visibility state of the layer. The member Categories specifies which categories control the visibility state.
Returns nil on any error.
Some examples using this method:
See also GetOCG function in DynaPDF manual.
DynaPDFMBS.GetOCGContUsage(Handle as UInt32) as DynaPDFOCGContUsageMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 15.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If the OCG is not included in an application event, then the contents in this dictionary serves as pure information.
If the OCG is included in one or more application events, then these settings control also the visibility state of the OCG. The function GetOCG returns the events and categories which control the layer visibility.
If UserNamesCount is greater zero, the dictionary contains also user names. The user names can be accessed with GetOCGUsageUserName.

Returns nil on any error.
See also GetOCGContUsage function in DynaPDF manual.
DynaPDFMBS.GetOCGCount as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 15.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This function cannot fail, the return value is always greater or equal zero.
Some examples using this method:
See also GetOCGCount function in DynaPDF manual.
DynaPDFMBS.GetOCGUsageUserName(Handle as UInt32, Index as UInt32, byref Name as String) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 15.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The functions a pointer of the original string that is stored in the PDF file.
If the function succeeds the return value is true. If the function fails the return value is false.
See also GetOCGUsageUserName function in DynaPDF manual.
DynaPDFMBS.GetOCUINode(Node as Integer) as DynaPDFOCUINodeMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 17.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If the PDF file was not already imported with ImportPDFFile() the function ImportOCProperties() must be called to import the global Optional Content Properties.
UI nodes are part of a layer configuration. Therefore, a layer configuration must be loaded with LoadLayerConfig() before the function can be called.
Optional Content Groups (OCGs) which are returned by this function should be visible in the user interface of a viewer application. All other OCGs should not be shown by default.
UI nodes are stored in a single linked list. To get the pointer of the root node set the parameter Node to 0. The parameter OutNode will be ignored in this case but it is required otherwise.
The next node of the root is in the NextItem property. If no further node is available the return value will be 0.
Every node can contain one or more child nodes, an optional label, or a reference to an OCG.
See also GetOCUINode function in DynaPDF manual.
DynaPDFMBS.GetOpacity 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 GetOpacity function in DynaPDF manual.
DynaPDFMBS.GetOrientation 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 GetOrientation function in DynaPDF manual.
DynaPDFMBS.GetOutputIntent(Index as Integer) as DynaPDFOutputIntentMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 14.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
An output intent is an ICC profile that describes the characteristics of the output device. The profile is mostly embedded but certain standards like PDF/X 4p, for example, allow also the usage of non-embedded profiles.
The parameter Index is the array index of the output intent. To determine the number of available intents call GetOutputIntentCount.
Returns nil in case of error.
See also GetOutputIntent function in DynaPDF manual.
DynaPDFMBS.GetOutputIntentCount as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 14.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also GetOutputIntentCount function in DynaPDF manual.
DynaPDFMBS.GetPage(PageNum as UInt32) as DynaPDFPageMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 11.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If you like to open a page for editing, please use editpage function.
Some examples using this method:
- /DynaPDF/DynaPDF PDF Viewer
- /DynaPDF/Object Actions
- /DynaPDF/PDF Viewer Example
- /DynaPDF/Raster/DynaPDF Display PDF
- /DynaPDF/Raster/DynaPDF Raster to MemoryBlock
- /DynaPDF/Raster/Render Tests/Render Test 4
- /DynaPDF/Raster/updatewindow event/Display PDF
- /DynaPDF/Tables/Dynamic Table/DynaPDF Table Multi Page
- /DynaPDF/Text Positions with parser
- /DynaPDF/Web Edition/WebPDF Web
DynaPDFMBS.GetPageAnnot(index as Integer) as DynaPDFAnnotationMBS Deprecated
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also GetPageAnnot function in DynaPDF manual.
DynaPDFMBS.GetPageAnnotCount as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also GetPageAnnotCount function in DynaPDF manual.
DynaPDFMBS.GetPageAnnotEx(index as Integer) as DynaPDFAnnotationExMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also GetPageAnnotEx function in DynaPDF manual.
DynaPDFMBS.GetPageColorSpaces as DynaPDFColorSpaceMBS()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 16.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Color spaces used for drawing colors (Stroke and Fill Color) and for image color space.
The list may be empty if for example everything is drawn in standard color spaces like RGB.
Some examples using this method:
DynaPDFMBS.GetPageCoords as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The native coordinate system of the Portable Document Format is bottom up.
Some examples using this method:
See also GetPageCoords function in DynaPDF manual.
DynaPDFMBS.GetPageCount 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:
- /DynaPDF/Create PDF with DPart Metadata
- /DynaPDF/Find and Replace
- /DynaPDF/Merge PDF documents with page numbers
- /DynaPDF/Parse PDF Content
- /DynaPDF/Parse PDF Content iOS
- /DynaPDF/PDF Viewer Example
- /DynaPDF/Raster/Batch Convert PDF to JPG
- /DynaPDF/Raster/Search and show PDF files
- /DynaPDF/Rotate PDF Pages
- /DynaPDF/Text extraction
See also GetPageCount function in DynaPDF manual.
DynaPDFMBS.GetPageField(Index as Integer) as DynaPDFFieldMBS Deprecated
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also GetPageField function in DynaPDF manual.
DynaPDFMBS.GetPageFieldCount 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 GetPageFieldCount function in DynaPDF manual.
DynaPDFMBS.GetPageFieldEx(Index as Integer) as DynaPDFFieldExMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 10.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The parameter Index must be a valid index to the page's field array. To enumerate the fields of a page execute the function in a loop from 0 to GetPageFieldCount - 1.
See also GetPageFieldEx function in DynaPDF manual.
DynaPDFMBS.GetPageHeight 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:
- /DynaPDF/ComplexText/Complex Text
- /DynaPDF/Create PDF with centimeters
- /DynaPDF/Create PDF with Layers Languages
- /DynaPDF/Create PDF with PictureMBS
- /DynaPDF/Create PDF with text block fonts
- /DynaPDF/Create PDF with vertical text
- /DynaPDF/Font Test
- /DynaPDF/Million pages test/Import page 1000000
- /DynaPDF/place centered/place centered
- /DynaPDF/StyledText Editor
See also GetPageHeight function in DynaPDF manual.
DynaPDFMBS.GetPageLabel(index as Integer, byref Label as DynaPDFPageLabelMBS) 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 GetPageLabel function in DynaPDF manual.
DynaPDFMBS.GetPageLabelCount 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 GetPageLabelCount function in DynaPDF manual.
DynaPDFMBS.GetPageLayout 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 GetPageLayout function in DynaPDF manual.
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:
- /DynaPDF/ComplexText/Font Substitution
- /DynaPDF/Create PDF with Angle Text
- /DynaPDF/Create PDF with Annotations
- /DynaPDF/Create PDF with object2d
- /DynaPDF/Create PDF with Picture file
- /DynaPDF/Letter/Letter with writeftext
- /DynaPDF/Letter/Letter with writeftext and two pages template
- /DynaPDF/Letter/Web Letter
- /DynaPDF/text formatting/text formatting parallel
- /DynaPDF/text formatting/text formatting Unicode
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/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/Rotate rotated PDF back
See also GetTemplWidth 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:
The items on this page are in the following plugins: MBS DynaPDF Plugin.