Platforms to show: All Mac Windows Linux Cross-Platform
Back to DynaPDFMBS class.
DynaPDFMBS.EditPage(PageNum 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/acroform/acroform
- /DynaPDF/DynaPDF Graphics/ListBoxReport
- /DynaPDF/Extract images
- /DynaPDF/Parse PDF Content iOS
- /DynaPDF/personalize/personalize
- /DynaPDF/Rotate PDF Pages
- /DynaPDF/Tables/DynaPDF Table Multi Page
- /DynaPDF/Tables/Invoice with tables/DynaPDF Database Invoice Example with Tables
- /DynaPDF/text editing/edit text
- /DynaPDF/Text Positions
See also EditPage function in DynaPDF manual.
DynaPDFMBS.EditTemplate(index 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:
See also EditTemplate function in DynaPDF manual.
DynaPDFMBS.EditTemplate2(handle 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 EditTemplate2 function in DynaPDF manual.
DynaPDFMBS.Ellipse(PosX as Double, PosY as Double, Width as Double, Height 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 |
See also Ellipse function in DynaPDF manual.
DynaPDFMBS.EnableImageCache(MaxImageCount as UInt32, Size as UInt32) as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 24.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The maximum number of images and the maximum cache size can be set independently of each other.
Caching can speed up rendering dramatically but caching can also slow down rendering if too many images are in the cache. Therefore, the maximum number of images must be restricted. The value should be between 256 and 1024 but not much higher.
The optimal cache size depends on the number of pages and whether the app is 32 or 64 bit. The cache size can be large, e.g. up to 1 GB on 32 bit or 2 GB on 64 bit systems, if a document contains only a few pages. Images are cached only if the system contains enough memory.
The size of the image cache should be around 30% of the entire cache size for rendered images. If the full cache size is 1 GB, for example, then around 300 MB should be used for the image cache. Keep all caches dynamic depending on the currently available memory.
The cache size is automatically reduced if the system has not sufficient memory.
The cache is always cleared when the PDF file in memory was closed or when FreePDF() was called. In order to disable or delete the cache set MaxImageCount or Size to zero.
Returns true on success and false on failure.
See also EnableImageCache function in DynaPDF manual.
DynaPDFMBS.EnableMutex(Value as boolean)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 14.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
DynaPDFMBS.EncryptPDF(File as folderitem, OpenPwd as string, OwnerPwd as string, KeyLen as Integer, Restrict as Integer) 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 EncryptPDF function in DynaPDF manual.
DynaPDFMBS.EncryptPDFAnsi(Path as string, OpenPwd as string, OwnerPwd as string, KeyLen as Integer, Restrict as Integer) as Integer Deprecated
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 12.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Same as EncryptPDF, but takes path name in Windows ANSI encoding.
See also EncryptPDF function in DynaPDF manual.
DynaPDFMBS.EndContinueText as Boolean Deprecated
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also EndContinueText function in DynaPDF manual.
DynaPDFMBS.EndLayer as boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 10.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If the function succeeds the return value is true. If the function fails the return value is false.
See also EndLayer function in DynaPDF manual.
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also EndPage function in DynaPDF manual.
DynaPDFMBS.EndPattern 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 EndPattern function in DynaPDF manual.
DynaPDFMBS.EndTemplate 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 EndTemplate function in DynaPDF manual.
DynaPDFMBS.EnumDocFonts as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Will call the EnumDocFont event.
See also EnumDocFonts function in DynaPDF manual.
DynaPDFMBS.EnumDocFontsCount as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 7.7 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns the number of fonts found. Does not call the event.
DynaPDFMBS.EnumHostFonts as Integer Deprecated
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Calls the EnumHostFont event.
See also EnumHostFonts function in DynaPDF manual.
DynaPDFMBS.EnumHostFontsCount as Integer Deprecated
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 7.7 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns the number of fonts found. Does not call the event.
DynaPDFMBS.EnumHostFontsEx as Integer Deprecated
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Calls the EnumHostFontEx event.
See also EnumHostFontsEx function in DynaPDF manual.
DynaPDFMBS.EnumHostFontsExCount as Integer Deprecated
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 7.7 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns the number of fonts found. Does not call the event.
DynaPDFMBS.ExchangeBookmarks(Bmk1 as Integer, Bmk2 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 ExchangeBookmarks function in DynaPDF manual.
DynaPDFMBS.ExchangePages(first as Integer, second 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 ExchangePages function in DynaPDF manual.
DynaPDFMBS.ExtractPageText(RemoveText as boolean = false) as String
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 12.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This is a convenience function so you don't need to use DynaPDFStackMBS class yourself.
Returns the text of the page. Use EditPage() to open a page and than EndPage() to close it.
If you have problems with asian characters, please make sure you use SetCMapDir and load the CMAPs.
Requires DynaPDF Pro license.
Deprecated in favor of newer ExtractText function.
Some examples using this method:
DynaPDFMBS.ExtractPageTextRect(Left as Double, Top as Double, Right as Double, Bottom as Double, RemoveText as boolean = false) as String
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 16.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Text that starts within the given rectangle is captured.
Be aware that PDF coordinates start on bottom left of page with 0/0.
This is a convenience function so you don't need to use DynaPDFStackMBS class yourself.
Returns the text of the page. Use EditPage() to open a page and than EndPage() to close it.
If you have problems with asian characters, please make sure you use SetCMapDir and load the CMAPs.
Requires DynaPDF Pro license.
Deprecated in favor of newer ExtractText function.
Some examples using this method:
DynaPDFMBS.ExtractText(PageNum as Integer, Flags as Integer, rect as DynaPDFRectMBS = nil, byref text as string) as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 18.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The first page is denoted by 1.
Text lines can be sorted in x- and y-direction. The flag ktefDeleteOverlappingText causes that identical text records which are placed on the same position (with a tolerance of 2 units) will be deleted. The records must occur one after the other in order to detect them.
The optional parameter Area can be set to restrict the text extraction to that rectangle. The rectangle must be defined according to the current coordinate system. That means either in bottom up or top down coordinates, see SetPageCoords() for further information. Note also that the function considers the orientation of the page. The width and height of the rectangle must be exchanged if the orientation is 90, -90, 270, or -270 degrees.
If the function succeeds the return value is true. If the function fails the return value is false.
See also ExtractText function in DynaPDF manual.
The items on this page are in the following plugins: MBS DynaPDF Plugin.