Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.8.30
|
Leadtools.Codecs Namespace > RasterCodecs Class : GetRasterPdfInfoAsync Method |
public IAsyncOperation<CodecsRasterPdfInfo> GetRasterPdfInfoAsync( ILeadStream stream, int pageNumber )
'Declaration
Public Function GetRasterPdfInfoAsync( _ ByVal stream As ILeadStream, _ ByVal pageNumber As Integer _ ) As IAsyncOperation(Of CodecsRasterPdfInfo)
'Usage
Dim instance As RasterCodecs Dim stream As ILeadStream Dim pageNumber As Integer Dim value As IAsyncOperation(Of CodecsRasterPdfInfo) value = instance.GetRasterPdfInfoAsync(stream, pageNumber)
public IAsyncOperation<CodecsRasterPdfInfo> GetRasterPdfInfoAsync( ILeadStream stream, int pageNumber )
function Leadtools.Codecs.RasterCodecs.GetRasterPdfInfoAsync( stream , pageNumber )
public: IAsyncOperation<CodecsRasterPdfInfo>^ GetRasterPdfInfoAsync( ILeadStream^ stream, int pageNumber )
The various RasterCodecs.GetInformation methods are used to return information about a raster image file on disk or stream. Information such as the format, size, dimension, bits per pixel are returned as members of the CodecsImageInfo object returned from RasterCodecs.GetInformation.
Raster Adobe PDF saved with the various Save methods (using any of the RasterImageFormat.RasPdfXyz flavors), contain extra information that can be obtained using RasterCodecs.GetRasterPdfInfo. This method returns an instance of CodecsRasterPdfInfo filled with this extra information. Refer to CodecsRasterPdfInfo for more information.