Platforms to show: All Mac Windows Linux Cross-Platform
Back to DynaPDFMBS class.
DynaPDFMBS.LineAnnot(x1 as Double, y1 as Double, x2 as Double, y2 as Double, LineWidth as Double, StartLineEndStyle as Integer, EndLineEndStyle as Integer, FillColor as UInt32, StrokeColor 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 | 14.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Some examples using this method:
See also LineAnnot function in DynaPDF manual.
DynaPDFMBS.LineAnnotAnsi(x1 as Double, y1 as Double, x2 as Double, y2 as Double, LineWidth as Double, StartLineEndStyle as Integer, EndLineEndStyle as Integer, FillColor as UInt32, StrokeColor 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 | 14.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also LineAnnot function in DynaPDF manual.
DynaPDFMBS.LineTo(PosX as Double, PosY 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 |
See also LineTo function in DynaPDF manual.
DynaPDFMBS.LoadCMap(CMapName as string, Embed as Boolean) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 10.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also LoadCMap function in DynaPDF manual.
DynaPDFMBS.LoadFDFData(FileName as folderitem, Password as string, Flags as Integer) as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 9.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also LoadFDFData function in DynaPDF manual.
DynaPDFMBS.LoadFDFDataEx(Buffer as memoryblock, Password as string, Flags as Integer) as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 13.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
See also LoadFDFDataEx function in DynaPDF manual.
DynaPDFMBS.LoadFDFDataEx(Buffer as string, Password as string, Flags as Integer) as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 9.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
See also LoadFDFDataEx function in DynaPDF manual.
DynaPDFMBS.LoadFont(Buffer as memoryblock, Style as Integer, size as Double, Embed as Boolean = false, CodePage as Integer = 2, CollectionIndex as UInt32 = 0) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 13.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Added CollectionIndex parameter in 12.1 plugin version.
See also:
See also LoadFont function in DynaPDF manual.
DynaPDFMBS.LoadFont(Buffer as string, Style as Integer, size as Double, Embed as Boolean = false, CodePage as Integer = 2, CollectionIndex as UInt32 = 0) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 12.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Added CollectionIndex parameter in 12.1 plugin version.
See also:
See also LoadFont function in DynaPDF manual.
DynaPDFMBS.LoadFontEx(File as folderitem, Style as Integer, size as Double, Embed as Boolean = false, CodePage as Integer = 2, CollectionIndex as UInt32 = 0) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 12.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
See also LoadFontEx function in DynaPDF manual.
DynaPDFMBS.LoadFontEx(Filepath as string, Style as Integer, size as Double, Embed as Boolean = false, CodePage as Integer = 2, CollectionIndex as UInt32 = 0) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 12.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
See also LoadFontEx function in DynaPDF manual.
DynaPDFMBS.LoadLayerConfig(Index as Integer) as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 17.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
A PDF file that contains layers (Optional Content Groups in PDF syntax) contains usually at least a default configuration dictionary. This configuration is loaded by default when the visibility state of a layer or optional content group must be determined, e.g. when rendering a page.
Use this function to load another configuration if available. To determine the number of available configurations call GetLayerConfigCount().
The paramter Index can be one of the following
- -1: Load the default configuration.
- -2: If a configuration was already loaded, leave it unchanged. Load
- the default configuration otherwise.
- 0..Count -1: Load the specified configuration.
See also LoadLayerConfig function in DynaPDF manual.
DynaPDFMBS.LoadSVG(file as FolderItem) as DynaPDFSVGMBS 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 |
SVG files are available in different flavors. Regular SVG files contain exactly one graphic but SVG files can also contain more than one graphic or symbol. Such symbol files contain no visible graphic if loaded without a symbol name.
In order to determine which kind of SVG file we have in memory, the function
SymbolCount() must be called after the SVG file was loaded. If the return value is greater zero, the file contains multiple symbols. In such a case the desired symbol name must be passed to InsertSVG(), otherwise there is no visible output.
The symbol names that a SVG file contains can be accessed with SymbolName. The function accepts an index from 0 through SymbolCount -1.
See also:
See also LoadSVG function in DynaPDF manual.
DynaPDFMBS.LoadSVG(path as String) as DynaPDFSVGMBS 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 |
SVG files are available in different flavors. Regular SVG files contain exactly one graphic but SVG files can also contain more than one graphic or symbol. Such symbol files contain no visible graphic if loaded without a symbol name.
In order to determine which kind of SVG file we have in memory, the function
SymbolCount() must be called after the SVG file was loaded. If the return value is greater zero, the file contains multiple symbols. In such a case the desired symbol name must be passed to InsertSVG(), otherwise there is no visible output.
The symbol names that a SVG file contains can be accessed with SymbolName. The function accepts an index from 0 through SymbolCount -1.
See also:
See also LoadSVG function in DynaPDF manual.
DynaPDFMBS.LoadSVGFromBuffer(data as MemoryBlock) as DynaPDFSVGMBS 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 |
Opens a SVG file and returns the SVG parser instance on success like LoadSVG(), but
accepts a file buffer as input.
If the function succeeds the return value is a pointer of the SVG parser instance. If the function fails, the return value is nil.
See also:
See also LoadSVGFromBuffer function in DynaPDF manual.
DynaPDFMBS.LoadSVGFromBuffer(data as String) as DynaPDFSVGMBS 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 |
Opens a SVG file and returns the SVG parser instance on success like LoadSVG(), but
accepts a file buffer as input.
If the function succeeds the return value is a pointer of the SVG parser instance. If the function fails, the return value is nil.
See also:
See also LoadSVGFromBuffer function in DynaPDF manual.
DynaPDFMBS.LockLayer(layer as UInt32) as boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | DynaPDF | MBS DynaPDF Plugin | 12.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also LockLayer function in DynaPDF manual.
The items on this page are in the following plugins: MBS DynaPDF Plugin.