LEADTOOLS Image File Support (Leadtools.Codecs assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
GetRasterPdfInfo(String,Int32) Method
See Also 
Leadtools.Codecs Namespace > RasterCodecs Class > GetRasterPdfInfo Method : GetRasterPdfInfo(String,Int32) Method



fileName
The input PDF file.
pageNumber
The 1-based page number.
fileName
The input PDF file.
pageNumber
The 1-based page number.
Gets information for a page in a raster PDF file created with the LEADTOOLS Raster PDF plug in.

Syntax

Visual Basic (Declaration) 
Overloads Public Function GetRasterPdfInfo( _
   ByVal fileName As String, _
   ByVal pageNumber As Integer _
) As CodecsRasterPdfInfo
Visual Basic (Usage)Copy Code
Dim instance As RasterCodecs
Dim fileName As String
Dim pageNumber As Integer
Dim value As CodecsRasterPdfInfo
 
value = instance.GetRasterPdfInfo(fileName, pageNumber)
C# 
public CodecsRasterPdfInfo GetRasterPdfInfo( 
   string fileName,
   int pageNumber
)
C++/CLI 
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 for the raster PDF page.

Example

For an example, refer to CodecsRasterPdfInfo.

Remarks

The various RasterCodecs.GetInformation methods are used to return information about a raster image file on disk or stream. The information such as the format, size, dimension, bits per pixel are returned as member of the CodecsImageInfo object returned from RasterCodecs.GetInformation.

Raster Adobe PDF saved with the various RasterCodecs.Save methods (using any of the RasterImageFormat.RasPdfXyz flavors), contain extra information that can be obtained using RasterCodecs.GetRasterPdfInfo. This method return an instance of CodecsRasterPdfInfo filled with these extra information. Refer to CodecsRasterPdfInfo for more information.

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also