| Visual Basic (Declaration) | |
|---|---|
Public Property OriginalFormat As RasterImageFormat | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public RasterImageFormat OriginalFormat {get; set;} | |
| Managed Extensions for C++ | |
|---|---|
public: __property RasterImageFormat get_OriginalFormat(); public: __property void set_OriginalFormat( RasterImageFormat value ); | |
| C++/CLI | |
|---|---|
public: property RasterImageFormat OriginalFormat { RasterImageFormat get(); void set (RasterImageFormat value); } | |
Return Value
The original image format of this RasterImage.This example displays the OriginalFormat of the loaded image.
When a RasterImage object is created by loading it from an image file, this property will hold the format type of the file as a RasterImageFormat enumeration member.
If the RasterImage was created by other means (for example, through the RasterImage constructor or scanning), the value of this property will be RasterImageFormat.Unknown.
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