Document Solutions for PDF
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Svg Namespace / GcSvgDocument Class
Properties Methods

In This Topic
    GcSvgDocument Class Members
    In This Topic

    The following tables list the members exposed by GcSvgDocument.

    Public Constructors
     NameDescription
    Public ConstructorInitializes an empty instance of the GcSvgDocument class.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets 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.

     
    Public PropertyGets or sets the currentColor value used by the SVG renderer.  
    Public PropertyGets or sets the list of font names belonging to the Cursive font family.  
    Public Propertystatic (Shared in Visual Basic)Gets the default list of font names belonging to the Cursive font family.  
    Public Propertystatic (Shared in Visual Basic)Gets the default list of font names belonging to the Fantasy font family.  
    Public Propertystatic (Shared in Visual Basic)Gets the default list of font names belonging to the Serif font family.  
    Public Propertystatic (Shared in Visual Basic)Gets the default list of font names belonging to the SansSerif font family.  
    Public Propertystatic (Shared in Visual Basic)Gets the default list of font names belonging to the Serif font family.  
    Public PropertyGets or sets the list of font names belonging to the Fantasy font family.  
    Public PropertyGets or sets the custom font collection used for searching fonts and font fallbacks.  
    Public PropertyGets or sets a value specifying the scope for searching fallback fonts for the glyphs missing in the mentioned type faces.  
    Public PropertyGets a value indicating whether the GcSvgDocument has been disposed of.  
    Public PropertyGets or sets the list of font names belonging to the Monospace font family.  
    Public PropertyGets 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.  
    Public PropertyGets the root SVG element.  
    Public PropertyGets or sets the list of font names belonging to the SansSerif font family.  
    Public PropertyGets or sets the list of font names belonging to the Serif font family.  
    Top
    Public Methods
     NameDescription
    Public MethodRemoves all namespace prefixes except "svg", "xlink", and "xml".  
    Public MethodReleases unmanaged resources used by this object.  
    Public Methodstatic (Shared in Visual Basic)Creates a new GcSvgDocument from a specified SVG file.  
    Public Methodstatic (Shared in Visual Basic)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.

     
    Public Methodstatic (Shared in Visual Basic)Creates a new GcSvgDocument from a specified SVG string data.  
    Public Methodstatic (Shared in Visual Basic)Creates a new GcSvgDocument from binary data in SVGZ format.  
    Public MethodGets an SvgElement with the specified id, or a null reference (Nothing in Visual Basic) if nothing was found.  
    Public MethodGets a list of SvgElements with the specified className.  
    Public MethodCalculates the intrinsic size of the SVG viewport, in specified units. The following units are supported:  
    Public MethodSearches for a namespace with a specified prefix.  
    Public MethodReturns an array with all registered namespace prefixes.  
    Public MethodSearches for a prefix associated with a specified namespace.  
    Public MethodOverloaded. Calculates the content bounds of an SVG document when its viewport is drawn at a specified point.  
    Public MethodRegisters prefix as a namespace prefix for the ns namespace.  
    Public MethodOverloaded. Saves the current GcSvgDocument to a file in SVG format.  
    Public MethodSaves the current GcSvgDocument to a byte array in SVGZ format.  
    Public MethodUnregisters a specified namespace prefix.  
    Top
    See Also