←Select platform

GetRasterPdfInfo(string,int) Method

Summary
Gets information about a page in a raster PDF file created with the PDF support available in the LEADTOOLS PDF Pro, Pro Suite, Document or Medical products.
Syntax
C#
VB
Objective-C
C++
public CodecsRasterPdfInfo GetRasterPdfInfo( 
   string fileName, 
   int pageNumber 
) 
Public Overloads Function GetRasterPdfInfo( _ 
   ByVal fileName As String, _ 
   ByVal pageNumber As Integer _ 
) As CodecsRasterPdfInfo 
- (nullable LTCodecsRasterPdfInfo *)rasterPdfInfoForFile:(NSString *)file  
                                              pageNumber:(NSInteger)pageNumber  
                                                   error:(NSError **)error 
public: 
CodecsRasterPdfInfo GetRasterPdfInfo(  
   String^ fileName, 
   int pageNumber 
)  

Parameters

fileName
The input PDF file.

pageNumber
The 1-based page number.

Return Value

An instance of CodecsRasterPdfInfo containing information about the raster PDF page.

Remarks

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 these extra information. Refer to CodecsRasterPdfInfo for more information.

Example

For an example, refer to CodecsRasterPdfInfo.

Requirements

Target Platforms

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.