ImageGear v26.5 - Updated
ImageGear.Core Assembly / ImageGear.Formats Namespace / ImGearFileFormats Class / GetSavingFormats Method / GetSavingFormats(ImGearPage,ImGearRasterConversionModes) Method
ImageGear.Core.ImGearPage object to get saving formats for.
Raster converter mode.
Example




In This Topic
    GetSavingFormats(ImGearPage,ImGearRasterConversionModes) Method
    In This Topic
    Returns an array of all file saving formats compatible with a particular ImageGear.Core.ImGearPage and the conversion mode.
    Syntax
    'Declaration
     
    Public Overloads Shared Function GetSavingFormats( _
       ByVal page As ImGearPage, _
       ByVal rasterConversionModes As ImGearRasterConversionModes _
    ) As ImGearSavingFormats()
    'Usage
     
    Dim page As ImGearPage
    Dim rasterConversionModes As ImGearRasterConversionModes
    Dim value() As ImGearSavingFormats
     
    value = ImGearFileFormats.GetSavingFormats(page, rasterConversionModes)

    Parameters

    page
    ImageGear.Core.ImGearPage object to get saving formats for.
    rasterConversionModes
    Raster converter mode.

    Return Value

    ImGearSavingFormats enumerationarray.
    Remarks
    This method comes handy when you need to initialize Save File dialog with all saving formats applicable to the ImGearPage object.
    Example
    ImGearSavingFormats[] formats = ImGearFileFormats.GetSavingFormats(igPage, ImGearRasterConversionModes.DIRECT_MATCH);
    Dim formats As ImGearSavingFormats() = ImGearFileFormats.GetSavingFormats(igPage, ImGearRasterConversionModes.DIRECT_MATCH)
    See Also