Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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);
}

Return Value

The image file format. The following are valid formats:

ValueMeaning
RasterImageFormat.FaxG31DimFax file with G3 one-dimensional compression
RasterImageFormat.FaxG32DimFax file with G3 two-dimensional compression
RasterImageFormat.FaxG4Fax file with G4 compression
RasterImageFormat.RawRle4RAW file with RLE compression, 4 bits per pixel
RasterImageFormat.RawRle8RAW file with RLE compression, 8 bits per pixel
RasterImageFormat.RawBitfieldsRAW file with bitfield compression
RasterImageFormat.RawPackBitsRAW file with packed bits compression
RasterImageFormat.RawCcittRAW file with CCITT compression

Example

For an example, refer to RasterCodecs.LoadInformation.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also