Leadtools.CF Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.6.15
Format Property
See Also 
Leadtools.Codecs Namespace > CodecsImageInfo Class : Format Property



Gets the image file format.

Syntax

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

Return Value

An RasterImageFormat value that specifies the image file format.

Example

This example will prompt the user to load a file. It will then check and only load JPEG files

Requirements

Target Platforms: Microsoft .NET CF Framework 2.0, Windows Mobile 5 PocketPC, Windows Mobile 5 Smartphone, Windows Mobile 6

See Also