Leadtools.Codecs Namespace > RasterCodecs Class > GetFormat Method : GetFormat(Stream) Method |
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)getFormat:(LTLeadStream*)stream error:(NSError**)outError;
public RasterImageFormat getFormat(ILeadStream stream)
function Leadtools.Codecs.RasterCodecs.GetFormat(Stream)( stream )
public: RasterImageFormat GetFormat( Stream^ stream )
GetInformation(String,Boolean) and GetFormat(String) use GetInformation(String,Boolean) internally. So, if more information about the image is required, it is recommended to call GetInformation(String,Boolean) directly and obtain the data once.
For an example, refer to Load(Stream stream, int pageNumber).