Platforms to show: All Mac Windows Linux Cross-Platform
Back to DynaPDFMBS class.
DynaPDFMBS.InsertRawImageEx(PosX as Double, PosY as Double, ScaleWidth as Double, ScaleHeight as Double, Image as DynaPDFRawImageMBS) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 13.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also InsertRawImageEx in dynapdf_help.pdf manual file.
Returns false if image parameter has invalid values.
Some examples using this method:
See also InsertRawImageEx function in DynaPDF manual.
DynaPDFMBS.InsertSVG(SVG as DynaPDFSVGMBS, PosX as double, PosY as double, Width as double, Height as double, SymbolID as String = "", Flags as Integer = 0) as Boolean New in 26.4
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 26.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
As described at LoadSVG, a symbol name is might be required in order to load the desired symbol or graphic.
This is a native SVG-to-PDF converter that translates SVG graphics directly into PDF drawing operations and resources. Vector graphics remain vector-based whenever possible, preserving their scalability and rendering quality.
The converter supports commonly used SVG features including paths and basic shapes, transformations, clipping, text, gradients, patterns, reusable elements, symbols, nested SVG documents, viewports and view boxes, as well as a subset of CSS relevant to SVG rendering.
SVG files containing multiple embedded SVG graphics can be enumerated and individual graphics can be selected by their symbol id. This makes it possible to efficiently process SVG icon and symbol collections without extracting the individual SVG documents beforehand.
The converter includes protection against cyclic and recursive references and is designed to handle malformed or unsupported SVG constructs gracefully.
DynaPDF implements the SVG features required for a broad range of real-world SVG documents but full conformance with every feature of the SVG and CSS specifications is not provided. SVG Graphics are drawn into a clipping path so that contents outside the bounding box of the graphic remains invisible.
Positioning & Scaling
If top down coordinates are active (see SetPageCoords() for further information), PosX / PosY is the upper left corner of the graphic. If bottom up coordinates are active, PosX / PosY is the lower left corner of the graphic.
The width and height can be calculated as follows
- If Width and Height is 0 the function uses the original width or height from the svg file.
- If Width or Height is 0, the missing value is calculated in relation to the given value of Height or Width to preserve the aspect ratio. The resulting output is a vector graphic with exact proportions relative to its original size.
- If Width or Height is negative, the graphic is scaled to the absolute value and mirrored on the x- or y-axis.
Some examples using this method:
See also InsertSVG function in DynaPDF manual.
DynaPDFMBS.IsBidiText(Text as string) 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 parameter is converted to unicode.
See also IsBidiText function in DynaPDF manual.
DynaPDFMBS.IsColorPage(GrayIsColor 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 |
Value is 0 for false, 1 for true or negative for an error.
See also IsColorPage function in DynaPDF manual.
DynaPDFMBS.IsEmptyPage as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Value is 0 for false, 1 for true or negative for an error.
See also IsEmptyPage function in DynaPDF manual.
DynaPDFMBS.IterateAnnotations as DynaPDFIteratorMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The value is a DynaPDFAnnotationExMBS object.
DynaPDFMBS.IterateBookmarks as DynaPDFIteratorMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The value is a DynaPDFBookmarkMBS object.
DynaPDFMBS.IterateCMaps as DynaPDFIteratorMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The value is a DynaPDFCMapMBS object.
DynaPDFMBS.IterateColorSpaces as DynaPDFIteratorMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The value is a DynaPDFColorSpaceMBS object.
DynaPDFMBS.IterateEmbeddedFiles(Decompress as boolean = false) as DynaPDFIteratorMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The value is a DynaPDFFileSpecMBS object.
DynaPDFMBS.IterateErrLogMessages as DynaPDFIteratorMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The value is a DynaPDFErrorMBS object.
DynaPDFMBS.IterateFields as DynaPDFIteratorMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The value is a DynaPDFFieldExMBS object.
DynaPDFMBS.IterateFonts as DynaPDFIteratorMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The value is a DynaPDFFontMBS object.
DynaPDFMBS.IterateImages(ImageFlags as Integer = 0) as DynaPDFIteratorMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The value is a DynaPDFImageMBS object.
DynaPDFMBS.IterateLayerConfigurations as DynaPDFIteratorMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The value is a DynaPDFOCLayerConfigMBS object.
DynaPDFMBS.IterateNamedDestinations as DynaPDFIteratorMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The value is a DynaPDFNamedDestMBS object.
DynaPDFMBS.IterateOCGs as DynaPDFIteratorMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The value is a DynaPDFOCGMBS object.
DynaPDFMBS.IterateOutputIntents as DynaPDFIteratorMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The value is a DynaPDFOutputIntentMBS object.
DynaPDFMBS.IteratePageAnnotations as DynaPDFIteratorMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The value is a DynaPDFAnnotationExMBS object.
DynaPDFMBS.IteratePageLabels as DynaPDFIteratorMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The value is a DynaPDFPageLabelMBS object.
DynaPDFMBS.IterateSysFonts as DynaPDFIteratorMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The value is a DynaPDFSysFontMBS object.
DynaPDFMBS.IterateXFAStreams as DynaPDFIteratorMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The value is a DynaPDFXFAStreamMBS object.
The items on this page are in the following plugins: MBS DynaPDF Plugin.