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

Show in webframe

GetFormat(Stream) Method








A Stream containing the image data to query.
Gets the format of the image in a stream.
Syntax
public RasterImageFormat GetFormat( 
   Stream stream
)
'Declaration
 
Public Overloads Function GetFormat( _
   ByVal stream As Stream _
) As RasterImageFormat
'Usage
 
Dim instance As RasterCodecs
Dim stream As Stream
Dim value As RasterImageFormat
 
value = instance.GetFormat(stream)
public RasterImageFormat GetFormat( 
   Stream stream
)
- (LTRasterImageFormat)formatOfStream:(LTLeadStream *)stream error:(NSError **)error
public RasterImageFormat getFormat(ILeadStream stream)
 function Leadtools.Codecs.RasterCodecs.GetFormat(Stream)( 
   stream 
)
public:
RasterImageFormat GetFormat( 
   Stream^ stream
) 

Parameters

stream
A Stream containing the image data 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(Stream stream, int pageNumber).

Requirements

Target Platforms

See Also

Reference

RasterCodecs Class
RasterCodecs Members
Overload List

Error processing SSI file