Documents for PDF .NET Edition
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / GcPdfDocument Class / SaveAsGif Method
The output file name.
The range of pages that should be saved.
Options that allow to customize the output images.

In This Topic
    SaveAsGif Method (GcPdfDocument)
    In This Topic
    Saves the document pages as images in GIF format, one page per output file.

    The fileName 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 fileName 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 Sub SaveAsGif( _
       ByVal fileName As System.String, _
       Optional ByVal pageRange As OutputRange, _
       Optional ByVal options As SaveAsImageOptions _
    ) 
    public void SaveAsGif( 
       System.string fileName,
       OutputRange pageRange,
       SaveAsImageOptions options
    )

    Parameters

    fileName
    The output file name.
    pageRange
    The range of pages that should be saved.
    options
    Options that allow to customize the output images.
    See Also