Platforms to show: All Mac Windows Linux Cross-Platform

DynaPDFSVGMBS class   New in 26.4

Type Topic Plugin Version macOS Windows Linux iOS Targets
class DynaPDF MBS DynaPDF Plugin 26.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The class for a loaded SVG image.
Example
Var pdf As New DynaPDFMBS
Call pdf.CreateNewPDF

// load a SVG
var file as FolderItem = SpecialFolder.Desktop.Child("dinosaur.svg")
Var svg As DynaPDFSVGMBS = pdf.LoadSVG(file)

// add page and place SVG
Call pdf.Append
Call pdf.InsertSVG(svg, 50, 50, 500, 500)
Call pdf.EndPage

// save it
Call pdf.OpenOutputFile(SpecialFolder.Desktop.Child("dinosaur.pdf"))
Call pdf.CloseFile

This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

  • 2 properties
  • 4 methods
    • method Constructor   Private
    • method Size(byref width as double, byref height as double, SymbolID as String = "") as Boolean
    • method SymbolName(Index as UInt32) as String
    • method SymbolNames as String()

SVG Flags

Constant Value Description
ksvfDefault 0 Default settings.

This class has no sub classes.

Blog Entries

Release notes

  • Version 26.4
    • Added DynaPDFSVGMBS class and related methods.

Some methods using this class:

Some related classes:


The items on this page are in the following plugins: MBS DynaPDF Plugin.


DynaPDFSubmitFormActionMBS   -   DynaPDFSysFontMBS


The biggest plugin in space...