LEADTOOLS Image File Support (Leadtools.Codecs assembly)

GetRasterPdfInfo(Stream,Int32) Method

Show in webframe







The input PDF stream.
The 1-based page number.
Gets information for a page in a raster PDF file contained in a stream created with the LEADTOOLS Raster PDF plug in.
Syntax
public CodecsRasterPdfInfo GetRasterPdfInfo( 
   Stream stream,
   int pageNumber
)
'Declaration
 
Public Overloads Function GetRasterPdfInfo( _
   ByVal stream As Stream, _
   ByVal pageNumber As Integer _
) As CodecsRasterPdfInfo
'Usage
 
Dim instance As RasterCodecs
Dim stream As Stream
Dim pageNumber As Integer
Dim value As CodecsRasterPdfInfo
 
value = instance.GetRasterPdfInfo(stream, pageNumber)
public CodecsRasterPdfInfo GetRasterPdfInfo( 
   Stream stream,
   int pageNumber
)
-(LTCodecsRasterPdfInfo*)getRasterPdfInfo:(LTLeadStream*)stream pageNumber:(unsigned int)pageNumber error:(NSError**)outError;
public CodecsRasterPdfInfo getRasterPdfInfo(ILeadStream stream, int pageNumber)
 function Leadtools.Codecs.RasterCodecs.GetRasterPdfInfo(Stream,Int32)( 
   stream ,
   pageNumber 
)
public:
CodecsRasterPdfInfo GetRasterPdfInfo( 
   Stream^ stream,
   int pageNumber
) 

Parameters

stream
The input PDF stream.
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(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.

Example
For an example, refer to CodecsRasterPdfInfo.
Requirements

Target Platforms

See Also

Reference

RasterCodecs Class
RasterCodecs Members
Overload List
Implementing PDF Plug in Features

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.