Visual Basic (Declaration) | |
---|---|
Public Property Format As RasterImageFormat |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public RasterImageFormat Format {get; set;} |
Managed Extensions for C++ | |
---|---|
public: __property RasterImageFormat get_Format(); public: __property void set_Format( RasterImageFormat value ); |
C++/CLI | |
---|---|
public: property RasterImageFormat Format { RasterImageFormat get(); void set (RasterImageFormat value); } |
Return Value
A RasterImageFormat enumeration value that specifies the load format.For an example, refer to CodecsOptions.
By default, the value of this property is set to false. This means that the RasterCodecs object should try
and recognize the format of the image its trying to load itself. If you know the format of the file, pass it to this member
prior to calling RasterCodecs.Load, this will skip the format recognation process and
speed up the load operation.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family