Name | Description | |
---|---|---|
GcSvgDocument Constructor | Initializes an empty instance of the GcSvgDocument class. |
The following tables list the members exposed by GcSvgDocument.
Name | Description | |
---|---|---|
GcSvgDocument Constructor | Initializes an empty instance of the GcSvgDocument class. |
Name | Description | |
---|---|---|
Cultures | Gets or sets the list of cultures to match values of the 'systemLanguage' attribute of SVG elements.
If this list is empty the language is taken from the current thread's CurrentCulture. | |
CurrentColor | Gets or sets the currentColor value used by the SVG renderer. | |
CursiveFonts | Gets or sets the list of font names belonging to the Cursive font family. | |
DefaultCursiveFonts | Gets the default list of font names belonging to the Cursive font family. | |
DefaultFantasyFonts | Gets the default list of font names belonging to the Fantasy font family. | |
DefaultMonospaceFonts | Gets the default list of font names belonging to the Serif font family. | |
DefaultSansSerifFonts | Gets the default list of font names belonging to the SansSerif font family. | |
DefaultSerifFonts | Gets the default list of font names belonging to the Serif font family. | |
FantasyFonts | Gets or sets the list of font names belonging to the Fantasy font family. | |
FontCollection | Gets or sets the custom font collection used for searching fonts and font fallbacks. | |
FontFallbackScope | Gets or sets a value specifying the scope for searching fallback fonts for the glyphs missing in the mentioned type faces. | |
IsDisposed | Gets a value indicating whether the GcSvgDocument has been disposed of. | |
MonospaceFonts | Gets or sets the list of font names belonging to the Monospace font family. | |
RestrictedFontLookup | Gets or sets a value indicating whether the fonts should be searched in the custom collection only, if any specified, not in the system collection of fonts. The default is false. | |
RootSvg | Gets the root SVG element. | |
SansSerifFonts | Gets or sets the list of font names belonging to the SansSerif font family. | |
SerifFonts | Gets or sets the list of font names belonging to the Serif font family. |
Name | Description | |
---|---|---|
ClearNamespacePrefixes | Removes all namespace prefixes except "svg", "xlink", and "xml". | |
Dispose | Releases unmanaged resources used by this object. | |
FromFile | Creates a new GcSvgDocument from a specified SVG file. | |
FromStream | Overloaded. Creates a new GcSvgDocument from a specified SVG data stream.
The stream will be closed after reading the SVG data. To keep the stream open, use the FromStream(Stream,Boolean) overload and pass true in the leaveOpen parameter. | |
FromString | Creates a new GcSvgDocument from a specified SVG string data. | |
FromSvgz | Creates a new GcSvgDocument from binary data in SVGZ format. | |
GetElementByID | Gets an SvgElement with the specified id, or a null reference (Nothing in Visual Basic) if nothing was found. | |
GetElementsByClass | Gets a list of SvgElements with the specified className. | |
GetIntrinsicSize | Calculates the intrinsic size of the SVG viewport, in specified units. The following units are supported: | |
GetNamespaceByPrefix | Searches for a namespace with a specified prefix. | |
GetNamespacePrefixes | Returns an array with all registered namespace prefixes. | |
GetPrefixByNamespace | Searches for a prefix associated with a specified namespace. | |
Measure | Overloaded. Calculates the content bounds of an SVG document when its viewport is drawn at a specified point. | |
RegisterNamespacePrefix | Registers prefix as a namespace prefix for the ns namespace. | |
Save | Overloaded. Saves the current GcSvgDocument to a file in SVG format. | |
ToSvgz | Saves the current GcSvgDocument to a byte array in SVGZ format. | |
UnregisterNamespacePrefix | Unregisters a specified namespace prefix. |