Gets the format of the image in a stream.
public RasterImageFormat GetFormat(
Stream stream
)
Public Overloads Function GetFormat( _
ByVal stream As Stream _
) As Leadtools.RasterImageFormat
public Leadtools.RasterImageFormat GetFormat(
Stream stream
)
- (LTRasterImageFormat)formatOfStream:(LTLeadStream *)stream error:(NSError **)error
public RasterImageFormat getFormat(ILeadStream stream)
function Leadtools.Codecs.RasterCodecs.GetFormat(Stream)(
stream
)
public:
Leadtools.RasterImageFormat GetFormat(
Stream^ stream
)
stream
A Stream containing the image data to query.
The format of the image.
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.
For an example, refer to Load(Stream stream, int pageNumber).
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET