Platforms to show: All Mac Windows Linux Cross-Platform
Back to DynaPDFMBS class.
DynaPDFMBS.ImportBookmarks 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 ImportBookmarks function in DynaPDF manual.
DynaPDFMBS.ImportCatalogObjects 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 ImportCatalogObjects function in DynaPDF manual.
DynaPDFMBS.ImportDocInfo 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 ImportDocInfo function in DynaPDF manual.
DynaPDFMBS.ImportEncryptionSettings as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 17.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If the PDF file is not encrypted, the function does nothing. To determine whether the open PDF file is encrypted call GetInIsEncrypted().
The encryption settings should be imported to make sure that the PDF file can be saved with the same settings after it was edited. The user rights should be considered if the file was opened with the open password, also if the password was just an empty string. See GetUserRights() for further information.
If the file was opened with the owner password, then all editing rights should be grated. The PDF file must be closed with CloseFile() or CloseAndSignFile() for example. Don't use
CloseFileEx() for example since this function would override the encryption settings.
If the file should be saved unencrypted call ResetEncryptionSettings() before closing the file. Return values:
If the function succeeds the return value is true. If the function fails the return value is false.
See also ImportEncryptionSettings function in DynaPDF manual.
DynaPDFMBS.ImportOCProperties as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 17.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
OC properties are normally automatically imported by functions like ImportPDFFile() or when importing a page that contains layers. However, a viewer application must be able to access the OC properties right after the PDF file was opened so that the layer configuration and the layer tree can be loaded (see LoadLayerConfig() and GetOCUINode() for further information).
The function can be called multiple times without causing unwanted side effects.
If the function succeeds the return value is true. If the function fails the return value is false.
See also ImportOCProperties function in DynaPDF manual.
DynaPDFMBS.ImportPage(PageNum 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 |
Requires DynaPDF Pro license.
Some examples using this method:
- /DynaPDF/Create numbered pages
- /DynaPDF/DynaPDF Database Invoice Example
- /DynaPDF/DynaPDF Merge 2 to 1
- /DynaPDF/Letter/Letter with writeftext
- /DynaPDF/Million pages test/Import page 1000000
- /DynaPDF/PDF Color Analyze per Page
- /DynaPDF/place centered/place centered
- /DynaPDF/place centered/place centered and rotate
- /DynaPDF/Rotate rotated PDF back
- /DynaPDF/Tables/Dynamic Table/DynaPDF Table Multi Page
See also ImportPage function in DynaPDF manual.
DynaPDFMBS.ImportPageEx(PageNum as Integer, ScaleX as Double = 1.0, ScaleY as Double = 1.0) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Requires DynaPDF Pro license.
Some examples using this method:
- /DynaPDF/Letter/Letter with AddContinueText and two pages template
- /DynaPDF/Letter/Letter with writeftext and two pages template
- /DynaPDF/List fonts in PDF
- /DynaPDF/Parse PDF Content
- /DynaPDF/Raster/RenderPageToImage variants
- /DynaPDF/Raster/Search and show PDF files
- /DynaPDF/Show Differences
- /DynaPDF/Split PDF
- /DynaPDF/Split PDF in memory
- /DynaPDF/Web Edition/WebPicture from PDF Page Web
See also ImportPageEx function in DynaPDF manual.
DynaPDFMBS.ImportPDFFile(DestPage as Integer, ScaleX as Double = 1.0, ScaleY as Double = 1.0) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Scaling factor is ignored if importing as pages (not templates).
This function returns the page number of the last page imported. It does not return how many pages are imported. If you need number of imported pages, please use returned value minus DestPage.
Some examples using this method:
- /DynaPDF/Combine PDF files
- /DynaPDF/Create PDF with Highlight
- /DynaPDF/DynaPDF Graphics/Reporting/List Of Orders with Background
- /DynaPDF/Extract files from Collection PDF
- /DynaPDF/Extract page Text
- /DynaPDF/Parse PDF Content
- /DynaPDF/Raster/DynaPDF Display PDF with Links
- /DynaPDF/Raster/DynaPDF Threaded Render Job
- /DynaPDF/Raster/Render Tests/Render Test 1
- /DynaPDF/ZUGFeRD/Create PDF with existing pdf
See also ImportPDFFile function in DynaPDF manual.
DynaPDFMBS.ImportPDFPage(PageNum as Integer, ScaleX as Double = 1.0, ScaleY as Double = 1.0) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 15.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If a page is open, this function calls EndPage.
Than it appends a new page, calls ImportPageEx and Endpage.
On success the return value is zero. If the function fails the return value is a negative error code.
Some examples using this method:
- /DynaPDF/Create Previews for folder
- /DynaPDF/DynaPDF Graphics/ListBoxReport
- /DynaPDF/DynaPDF Graphics/Reporting/List Of Orders with Background
- /DynaPDF/DynaPDF Merge 2 to 1
- /DynaPDF/Extract image objects
- /DynaPDF/Extract images
- /DynaPDF/Interlace PDFs
- /DynaPDF/JBig Test
- /DynaPDF/Merge PDF documents with page numbers
- /DynaPDF/Split PDF
See also ImportPDFPage function in DynaPDF manual.
DynaPDFMBS.InitColorManagement(profiles as DynaPDFColorProfilesMBS, DestSpace as Integer, Flags as Integer) as boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Pass nil for profiles to disable color management.
DestSpace can be kcsDeviceRGB, kcsDeviceCMYK or kcsDeviceGray.
Flags can be kicmDefault or kicmBPCompensation for:
Black point compensation preserves the black point when converting CMYK colors to different color spaces.
Some examples using this method:
- /DynaPDF/DynaPDF PDF Viewer
- /DynaPDF/PDF Viewer Example
- /DynaPDF/Raster/RenderPageToImage with color management
- /DynaPDF/Raster/RenderPDFFile Test with Color Management
- /DynaPDF/Web Edition/WebPDF Web
See also InitColorManagement function in DynaPDF manual.
DynaPDFMBS.InitColorManagementEx(profiles as DynaPDFColorProfilesExMBS, DestSpace as Integer, Flags as Integer) as boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 16.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The function enables color management in the functions RenderPage(), RenderPageEx(), RenderPageToImage(), and RenderPDFFile() exactly like InitColorManagement() but accepts ICC profile buffers instead of file paths. See InitColorManagement() for further information.
To disable color management set the parameter Profiles to nil.
Initializing the color management requires a considerable amount of processing time. It is strongly recommended to use one PDF instance as long as possible so that it must not be initialized again when another PDF file will be rendered.
The color management can be initialized right after the PDF instance was created.
Returns true on succes or false on failure.
Some examples using this method:
See also InitColorManagementEx function in DynaPDF manual.
DynaPDFMBS.InitStack(byref 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 |
If stack is nil, a new one will be created and stored in the variable.
Return values:
If the function succeeds the return value is true. If the function fails the return value is false.
Some examples using this method:
- /DynaPDF/Extract text
- /DynaPDF/text editing/delete text
- /DynaPDF/text editing/replace text
- /DynaPDF/Text extraction
See also InitStack function in DynaPDF manual.
DynaPDFMBS.InkAnnot(points() as DynaPDFPointMBS, LineWidth as Double, ColorValue as UInt32, ColorSpace as Integer, Author as string, Subject as string, Content as string) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 15.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
An ink annotation (PDF 1.3) represents a freehand "scribble" composed of one or more disjoint paths. The parameter Points represents a stroked path. More paths can be added with AddInkList.
The points are interpreted in currect user space. Any transformation that was applied on the coordinate system will be taken into account.
The points are connected with bezier curves to achieve a smooth transition between points. If the points should be connected with straight lines, then create a PolyLine annotation instead (see PolyLineAnnot).
This annotation type has an associated PopUp annotation that displays the string Content in a floating window. The initial window state of the associated PopUp annotation is closed by default but the state can be changed with SetAnnotOpenState() if necessary.
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 InkAnnot function in DynaPDF manual.
DynaPDFMBS.InkAnnotAnsi(points() as DynaPDFPointMBS, LineWidth as Double, ColorValue as UInt32, ColorSpace as Integer, Author as string, Subject as string, Content as string) as Integer Deprecated
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 15.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
An ink annotation (PDF 1.3) represents a freehand "scribble" composed of one or more disjoint paths. The parameter Points represents a stroked path. More paths can be added with AddInkList.
The points are interpreted in currect user space. Any transformation that was applied on the coordinate system will be taken into account.
The points are connected with bezier curves to achieve a smooth transition between points. If the points should be connected with straight lines, then create a PolyLine annotation instead (see PolyLineAnnot).
This annotation type has an associated PopUp annotation that displays the string Content in a floating window. The initial window state of the associated PopUp annotation is closed by default but the state can be changed with SetAnnotOpenState() if necessary.
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.
See also InkAnnot function in DynaPDF manual.
DynaPDFMBS.InsertBarcode(PosX as double, PosY as double, Width as double, Height as double, HAlign as Integer, VAlign as Integer, Barcode as DynaPDFBarcode2MBS) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 20.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See the kbct* constants for the types supported.
Options are very similar to what we have in our BarcodeGeneratorMBS class as both use the same zint library.
Some examples using this method:
See also InsertBarcode function in DynaPDF manual.
DynaPDFMBS.InsertBMPFromBuffer(PosX as Double, PosY as Double, ScaleWidth as Double, ScaleHeight as Double, Buffer as memoryblock) as Integer Deprecated
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 13.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
- InsertBMPFromBuffer(PosX as Double, PosY as Double, ScaleWidth as Double, ScaleHeight as Double, Buffer as string) as Integer
- InsertBMPFromBuffer(PosX as Double, PosY as Double, ScaleWidth as Double, ScaleHeight as Double, BufferAddress as Integer) as Integer
See also InsertBMPFromBuffer function in DynaPDF manual.
DynaPDFMBS.InsertBMPFromBuffer(PosX as Double, PosY as Double, ScaleWidth as Double, ScaleHeight as Double, Buffer as string) as Integer Deprecated
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 13.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
- InsertBMPFromBuffer(PosX as Double, PosY as Double, ScaleWidth as Double, ScaleHeight as Double, Buffer as memoryblock) as Integer
- InsertBMPFromBuffer(PosX as Double, PosY as Double, ScaleWidth as Double, ScaleHeight as Double, BufferAddress as Integer) as Integer
See also InsertBMPFromBuffer function in DynaPDF manual.
DynaPDFMBS.InsertBMPFromBuffer(PosX as Double, PosY as Double, ScaleWidth as Double, ScaleHeight as Double, BufferAddress as Integer) as Integer Deprecated
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
- InsertBMPFromBuffer(PosX as Double, PosY as Double, ScaleWidth as Double, ScaleHeight as Double, Buffer as memoryblock) as Integer
- InsertBMPFromBuffer(PosX as Double, PosY as Double, ScaleWidth as Double, ScaleHeight as Double, Buffer as string) as Integer
See also InsertBMPFromBuffer function in DynaPDF manual.
DynaPDFMBS.InsertBMPFromHandle(PosX as Double, PosY as Double, ScaleWidth as Double, ScaleHeight as Double, hBitmap 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 |
See also InsertBMPFromHandle function in DynaPDF manual.
DynaPDFMBS.InsertBookmark(title as String, parent as Integer, DestPage as Integer, Open as boolean, AddChildren as boolean) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 11.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The title parameter is converted to unicode.
See also InsertBookmark function in DynaPDF manual.
DynaPDFMBS.InsertBookmarkAnsi(title as String, parent as Integer, DestPage as Integer, Open as boolean, AddChildren as boolean) as Integer Deprecated
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 11.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The title parameter is converted to ANSI.
See also InsertBookmark function in DynaPDF manual.
DynaPDFMBS.InsertBookmarkEx(title as String, parent as Integer, NamedDest as Integer, Open as boolean, AddChildren as boolean) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 11.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The title parameter is converted to unicode.
See also InsertBookmarkEx function in DynaPDF manual.
DynaPDFMBS.InsertBookmarkExAnsi(title as String, parent as Integer, NamedDest as Integer, Open as boolean, AddChildren as boolean) as Integer Deprecated
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 11.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The title parameter is converted to ANSI.
See also InsertBookmarkEx function in DynaPDF manual.
DynaPDFMBS.InsertImage(PosX as Double, PosY as Double, ScaleWidth as Double, ScaleHeight as Double, File as folderitem) as Integer Deprecated
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Please call SetUseTransparency(false) before inserting image if you don't like one of the colors (default white) to become transparent.
DynaPDF 3.0 adds support for pictures with alpha channel for this function.
See also InsertImage function in DynaPDF manual.
DynaPDFMBS.InsertImageEx(PosX as Double, PosY as Double, ScaleWidth as Double, ScaleHeight as Double, File as folderitem, index as Integer = 1) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Please call SetUseTransparency(false) before inserting image if you don't like one of the colors (default white) to become transparent.
DynaPDF 3.0 adds support for pictures with alpha channel for this function.
See also:
Some examples using this method:
- /DynaPDF/Create PDF with Layers
- /DynaPDF/Create PDF with Picture files
- /DynaPDF/DynaPDF transparent images/DynaPDF transparent images
- /DynaPDF/DynaPDF transparent images/DynaPDF transparent images console
- /DynaPDF/Image to PDF/Batch Image to PDF
- /DynaPDF/Image to PDF/Batch Image to PDF console
- /DynaPDF/Image to PDF/Image to pdf
- /DynaPDF/Image to PDF/Multi Tiff to PDF
- /DynaPDF/JBig Test
- /DynaPDF/Web Edition/Cards Web
See also InsertImageEx function in DynaPDF manual.
DynaPDFMBS.InsertImageEx(PosX as double, PosY as double, ScaleWidth as double, ScaleHeight as double, Path as String, index as integer = 1) as integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 19.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Please call SetUseTransparency(false) before inserting image if you don't like one of the colors (default white) to become transparent.
DynaPDF 3.0 adds support for pictures with alpha channel for this function.
See also:
See also InsertImageEx function in DynaPDF manual.
DynaPDFMBS.InsertImageFromBuffer(PosX as Double, PosY as Double, ScaleWidth as Double, ScaleHeight as Double, Buffer as Memoryblock, index as Integer = 1) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 13.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Please call SetUseTransparency(false) before inserting image if you don't like one of the colors (default white) to become transparent.
DynaPDF 3.0 adds support for pictures with alpha channel for this function.
Please pass positon and size as doubles. If you use integers, Xojo will give a compile error.
See also:
Some examples using this method:
See also InsertImageFromBuffer function in DynaPDF manual.
DynaPDFMBS.InsertImageFromBuffer(PosX as Double, PosY as Double, ScaleWidth as Double, ScaleHeight as Double, Buffer as string, index as Integer = 1) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Please call SetUseTransparency(false) before inserting image if you don't like one of the colors (default white) to become transparent.
DynaPDF 3.0 adds support for pictures with alpha channel for this function.
Please pass positon and size as doubles. If you use integers, Xojo will give a compile error.
See also:
See also InsertImageFromBuffer function in DynaPDF manual.
DynaPDFMBS.InsertMetafile(FileName as folderitem, PosX as Double, PosY as Double, Width as Double, 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 |
Requires DynaPDF Lite license.
Some examples using this method:
See also InsertMetafile function in DynaPDF manual.
DynaPDFMBS.InsertMetafileEx(Buffer as memoryblock, PosX as Double, PosY as Double, Width as Double, Height as Double) as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 13.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Requires DynaPDF Lite license.
See also:
See also InsertMetafileEx function in DynaPDF manual.
DynaPDFMBS.InsertMetafileEx(Buffer as string, PosX as Double, PosY as Double, Width as Double, 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 |
Requires DynaPDF Lite license.
See also:
See also InsertMetafileEx function in DynaPDF manual.
DynaPDFMBS.InsertMetafileExt(FileName as folderitem, View as DynaPDFRectMBS, PosX as Double, PosY as Double, Width as Double, 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 |
Requires DynaPDF Lite license.
See also InsertMetafileExt function in DynaPDF manual.
DynaPDFMBS.InsertMetafileExtEx(Buffer as Memoryblock, View as DynaPDFRectMBS, PosX as Double, PosY as Double, Width as Double, Height as Double) as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 13.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Requires DynaPDF Lite license.
See also:
See also InsertMetafileExtEx function in DynaPDF manual.
DynaPDFMBS.InsertMetafileExtEx(Buffer as String, View as DynaPDFRectMBS, PosX as Double, PosY as Double, Width as Double, 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 |
Requires DynaPDF Lite license.
See also:
See also InsertMetafileExtEx function in DynaPDF manual.
DynaPDFMBS.InsertMetafileFromHandle(hEnhMetafileHandle as Integer, PosX as Double, PosY as Double, Width as Double, 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 |
Requires DynaPDF Lite license.
See also InsertMetafileFromHandle function in DynaPDF manual.
DynaPDFMBS.InsertMetafileFromHandleEx(hEnhMetafileHandle as Integer, View as DynaPDFRectMBS, PosX as Double, PosY as Double, Width as Double, 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 |
Requires DynaPDF Lite license.
See also InsertMetafileFromHandleEx function in DynaPDF manual.
DynaPDFMBS.InsertPicture(pic as picture, mask as picture, PosX as Double, PosY as Double, ScaleWidth as Double, ScaleHeight as Double) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 9.7 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Please call SetUseTransparency(false) before inserting image if you don't like one of the colors (default white) to become transparent.
This is a convenience function to handle picture with mask.
Internally this calls pdfInsertRawImage so check the documtation on this function in the dynapdf manual.
For images with alpha channel, we pass a PNG via pdfInsertImageFromBuffer.
Usually InsertPicture with the mask/alpha is better.
PosX and PosY are the destination position and ScaledWidth and ScaledHeight is the new size of the image.
See also:
Some examples using this method:
- /Barcode/generate/Create PDF with Barcodes
- /DynaPDF/Create PDF with object2d
- /DynaPDF/Create PDF with over 2 GB size
- /DynaPDF/Create PDF with Picture
- /DynaPDF/Create PDF with Picture with transparency
- /DynaPDF/Create PDF with PictureMBS
- /DynaPDF/DynaPDF transparent images/DynaPDF transparent images
- /DynaPDF/DynaPDF transparent images/DynaPDF transparent images console
- /DynaPDF/Raster/Create and Render PDF
- /DynaPDF/Raster/Create and Render PDF in console
DynaPDFMBS.InsertPicture(pic as picture, PosX as Double, PosY as Double, ScaleWidth as Double, ScaleHeight as Double) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 8.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Please call SetUseTransparency(false) before inserting image if you don't like one of the colors (default white) to become transparent.
Internally this calls pdfInsertRawImage so check the documtation on this function in the dynapdf manual.
For images with alpha channel, we pass a PNG via pdfInsertImageFromBuffer.
PosX and PosY are the destination position and ScaledWidth and ScaledHeight is the new size of the image.
See also:
DynaPDFMBS.InsertRawImage(Data as String, BitsPerPixel as Integer, ColorCount as Integer, ImgWidth as Integer, ImgHeight as Integer, PosX as Double, PosY as Double, ScaleWidth as Double, ScaleHeight as Double) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 13.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
Some examples using this method:
See also InsertRawImage function in DynaPDF manual.
DynaPDFMBS.InsertRawImage(Memory as MemoryBlock, BitsPerPixel as Integer, ColorCount as Integer, ImgWidth as Integer, ImgHeight as Integer, PosX as Double, PosY as Double, ScaleWidth as Double, ScaleHeight as Double) 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:
See also InsertRawImage function in DynaPDF manual.
The items on this page are in the following plugins: MBS DynaPDF Plugin.