Visual Basic (Declaration) | |
---|---|
Public Overridable Property OriginalFormat As RasterImageFormat |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public virtual RasterImageFormat OriginalFormat {get; set;} |
C++/CLI | |
---|---|
public: virtual property RasterImageFormat OriginalFormat { RasterImageFormat get(); void set (RasterImageFormat value); } |
Return Value
An RasterImageFormat value that specifies the original format of this RasterImage.This example will load an image from a disk file, flips it then saves it back to a new file without worrying what the original format was.
This value will be initialied with the RasterImageFormat value when this image is loaded from a disk file or memory stream that contain a valid image file. If this RasterImage was created by other means (directly or from a Clone operation for example, the value for OriginalFormat will be RasterImageFormat.Unknown
You can however change this format to whatever value you want at any time.
Target Platforms: Microsoft .NET CF Framework 2.0, Windows Mobile 5 PocketPC, Windows Mobile 5 Smartphone, Windows Mobile 6