Platforms to show: All Mac Windows Linux Cross-Platform

Back to DynaPDFSVGMBS class.

DynaPDFSVGMBS.Constructor   Private

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 26.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The private constructor.

DynaPDFSVGMBS.Size(byref width as double, byref height as double, SymbolID as String = "") as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 26.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Retrieves the width and height of a SVG graphic.
Example
Var svg As DynaPDFSVGMBS = pdf.LoadSVG(item)
If svg <> Nil Then
// we query size of main item
Var width, height As Double
If svg.Size(width, height) Then
MessageBox width.ToString+" x "+height.ToString
End If
End If

The parameter SymbolID is optional, it can be used to load a specific symbol of a SVG symbol file.
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. The number of symbols that a SVG file contains can be determined with the function GetSVGSymbolCount(). The parameter SymbolID must be the name of the desired symbol or "".

Errors and warnings are passed to the error log. See GetErrLogMessage() for further information.

If the function succeeds the return value is true. If the function fails the return value is false.

DynaPDFSVGMBS.SymbolName(Index as UInt32) as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 26.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Retrieves the name of a SVG symbol.

A symbol name is usually just some kind of unique string with no further meaning.

DynaPDFSVGMBS.SymbolNames as String()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 26.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Retrieves the name of all SVG symbols.

A symbol name is usually just some kind of unique string with no further meaning.

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


The biggest plugin in space...