Document Solutions for PDF
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / GcPdfDocument Class / SaveAsSvg Method / SaveAsSvg(String,ViewState,OutputRange,SaveAsImageOptions,XmlWriterSettings) Method
The output file path.
The document view state.
The range of pages that should be saved.
Options that allow customizing the output images.
The output XML formatting settings.

In This Topic
    SaveAsSvg(String,ViewState,OutputRange,SaveAsImageOptions,XmlWriterSettings) Method
    In This Topic
    Saves the document pages as images in SVG format, one page per output file.

    The filePath parameter is used as a .NET format string, with current page number (1-based) passed to it as the value to be formatted. Note that if filePath does not contain a format item (such as "{0}"), all pages will be saved into the same file name, the last page overwriting everything else.

    Syntax
    'Declaration
     
    Public Overloads Sub SaveAsSvg( _
       ByVal filePath As System.String, _
       ByVal viewState As ViewState, _
       Optional ByVal pageRange As OutputRange, _
       Optional ByVal options As SaveAsImageOptions, _
       Optional ByVal xmlSettings As System.Xml.XmlWriterSettings _
    ) 
    public void SaveAsSvg( 
       System.string filePath,
       ViewState viewState,
       OutputRange pageRange,
       SaveAsImageOptions options,
       System.Xml.XmlWriterSettings xmlSettings
    )

    Parameters

    filePath
    The output file path.
    viewState
    The document view state.
    pageRange
    The range of pages that should be saved.
    options
    Options that allow customizing the output images.
    xmlSettings
    The output XML formatting settings.
    See Also