LEADTOOLS Image File Support (Leadtools.Codecs assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Format Property
See Also 
Leadtools.Codecs Namespace > CodecsLoadInformationEventArgs Class : Format Property



Gets the image file format.

Syntax

Visual Basic (Declaration) 
Public Property Format As RasterImageFormat
Visual Basic (Usage)Copy Code
Dim instance As CodecsLoadInformationEventArgs
Dim value As RasterImageFormat
 
instance.Format = value
 
value = instance.Format
C# 
public RasterImageFormat Format {get; set;}
C++/CLI 
public:
property RasterImageFormat Format {
   RasterImageFormat get();
   void set (    RasterImageFormat value);
}

Property Value

The image file format. The following are valid formats:

Value Meaning
RasterImageFormat.FaxG31Dim Fax file with G3 one-dimensional compression
RasterImageFormat.FaxG32Dim Fax file with G3 two-dimensional compression
RasterImageFormat.FaxG4 Fax file with G4 compression
RasterImageFormat.RawRle4 RAW file with RLE compression, 4 bits per pixel
RasterImageFormat.RawRle8 RAW file with RLE compression, 8 bits per pixel
RasterImageFormat.RawBitfields RAW file with bitfield compression
RasterImageFormat.RawPackBits RAW file with packed bits compression
RasterImageFormat.RawCcitt RAW file with CCITT compression

Example

For an example, refer to RasterCodecs.LoadInformation.

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also