ImageGear v26.5 - Updated
ImageGear.Core Assembly / ImageGear.Formats Namespace / ImGearLoadOptions Class / Format Property




In This Topic
    Format Property (ImGearLoadOptions)
    In This Topic
    Gets or sets the file format of an image to load, or enables format autodetection.
    Syntax
    'Declaration
     
    Public Property Format As ImGearFormats
    'Usage
     
    Dim instance As ImGearLoadOptions
    Dim value As ImGearFormats
     
    instance.Format = value
     
    value = instance.Format
    public ImGearFormats Format {get; set;}
    public: __property ImGearFormats get_Format();
    public: __property void set_Format( 
       ImGearFormats value
    );
    public:
    property ImGearFormats Format {
       ImGearFormats get();
       void set (    ImGearFormats value);
    }

    Property Value

    Any member of ImGearFormats enumeration value.
    Remarks
    Use this property when you need to bypass auto-detection and specify image format explicitly. Specifying ImGearFormats.UNKNOWN will force auto-detection.

    The default value is ImGearFormats.UNKNOWN.

    See Also