Error processing SSI file
LEADTOOLS Image File Support (Leadtools.Codecs assembly)

Show in webframe

GetFormat(String) Method








A String containing the name of the image file to query.
Gets the format of the image in a disk file.
Syntax
public RasterImageFormat GetFormat( 
   string fileName
)
'Declaration
 
Public Overloads Function GetFormat( _
   ByVal fileName As String _
) As RasterImageFormat
'Usage
 
Dim instance As RasterCodecs
Dim fileName As String
Dim value As RasterImageFormat
 
value = instance.GetFormat(fileName)
public RasterImageFormat GetFormat( 
   string fileName
)
- (LTRasterImageFormat)formatOfFile:(NSString *)file error:(NSError **)error
 function Leadtools.Codecs.RasterCodecs.GetFormat(String)( 
   fileName 
)
public:
RasterImageFormat GetFormat( 
   String^ fileName
) 

Parameters

fileName
A String containing the name of the image file to query.

Return Value

The format of the image.
Remarks

GetInformation and GetFormat use GetInformation internally. So, if more information about the image is required, it is recommended to call GetInformation directly and obtain the data once.

Example

For an example, refer to Load(string fileName, int pageNumber).

Requirements

Target Platforms

See Also

Reference

RasterCodecs Class
RasterCodecs Members
Overload List

Error processing SSI file