Leadtools.Codecs Namespace > RasterCodecs Class > GetRasterPdfInfo Method : GetRasterPdfInfo(String,Int32) Method |
public CodecsRasterPdfInfo GetRasterPdfInfo( string fileName, int pageNumber )
'Declaration Public Overloads Function GetRasterPdfInfo( _ ByVal fileName As String, _ ByVal pageNumber As Integer _ ) As CodecsRasterPdfInfo
'Usage Dim instance As RasterCodecs Dim fileName As String Dim pageNumber As Integer Dim value As CodecsRasterPdfInfo value = instance.GetRasterPdfInfo(fileName, pageNumber)
public CodecsRasterPdfInfo GetRasterPdfInfo( string fileName, int pageNumber )
function Leadtools.Codecs.RasterCodecs.GetRasterPdfInfo(String,Int32)( fileName , pageNumber )
public: CodecsRasterPdfInfo GetRasterPdfInfo( String^ fileName, 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(RasterImage,String,RasterImageFormat,Int32) 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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2