Gets the format of the image in a stream.
public IAsyncOperation<RasterImageFormat> GetFormatAsync(
ILeadStream stream
)
Public Function GetFormatAsync( _
ByVal stream As ILeadStream _
) As IAsyncOperation(Of RasterImageFormat)
public IAsyncOperation<RasterImageFormat> GetFormatAsync(
ILeadStream stream
)
- (void)formatOfStreamAsync:(LTLeadStream *)stream
completion:(void (^)(LTRasterImageFormat format, NSError * nullable error))completion
function Leadtools.Codecs.RasterCodecs.GetFormatAsync(
stream
)
public:
IAsyncOperation<RasterImageFormat>^ GetFormatAsync(
ILeadStream^ stream
)
stream
A ILeadStream containing the image data to query.
The format of the image.
GetInformationAsync and GetFormatAsync use GetInformationAsync internally. So, if more information about the image is required, it is recommended to call GetInformationAsync 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