Gets information about a page in a raster PDF file contained in a stream created with the PDF support available in the LEADTOOLS PDF Pro, Pro Suite, Document or Medical products.
public IAsyncOperation<CodecsRasterPdfInfo> GetRasterPdfInfoAsync(
ILeadStream stream,
int pageNumber
)
Public Function GetRasterPdfInfoAsync( _
ByVal stream As ILeadStream, _
ByVal pageNumber As Integer _
) As IAsyncOperation(Of CodecsRasterPdfInfo)
public IAsyncOperation<CodecsRasterPdfInfo> GetRasterPdfInfoAsync(
ILeadStream stream,
int pageNumber
)
function Leadtools.Codecs.RasterCodecs.GetRasterPdfInfoAsync(
stream ,
pageNumber
)
public:
IAsyncOperation<CodecsRasterPdfInfo>^ GetRasterPdfInfoAsync(
ILeadStream^ stream,
int pageNumber
)
stream
The input PDF stream.
pageNumber
The 1-based page number.
When this method completes, it returns an instance of CodecsRasterPdfInfo containing information about the raster PDF page.
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.
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