Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.3.5
OriginalFormat Property
See Also 
Leadtools Namespace > RasterImage Class : OriginalFormat Property




Gets or sets the original image format of this RasterImage.

Syntax

Visual Basic (Declaration) 
Public Property OriginalFormat As RasterImageFormat
Visual Basic (Usage)Copy Code
Dim instance As RasterImage
Dim value As RasterImageFormat
 
instance.OriginalFormat = value
 
value = instance.OriginalFormat
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.

Example

This example displays the OriginalFormat of the loaded image.

Remarks

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.

Requirements

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

See Also