Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.17
Format Property
See Also 
Leadtools.Codecs Namespace > CodecsStartDecompressOptions Structure : Format Property




Gets or sets a value indicating the format of the image to decompress.

Syntax

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

Return Value

A RasterImageFormat value indicating the format of the image to decompress.

Possible values are:

ValueMeaning
RasterImageFormat.JpegJPEG file
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
RasterImageFormat.FaxG31DimFax file with G3 one-dimensional compression
RasterImageFormat.FaxG32DimFax file with G3 two-dimensional compression
RasterImageFormat.FaxG4Fax file with G4 compression

Example

For an example, refer to RasterCodecs.StartDecompress.

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