ImageGear v26.3 - Updated November 9, 2022
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

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