Click or drag to resize
PDFPage Class
Inheritance Hierarchy
SystemObject
  RasterEdge.Imaging.BasicBasePage
    RasterEdge.XDoc.PDFPDFPage

Namespace: RasterEdge.XDoc.PDF
Assembly: RasterEdge.XDoc.PDF (in RasterEdge.XDoc.PDF.dll) Version: 9.8.7.60526 (9.8.7.60526)
Syntax
public class PDFPage : BasePage

The PDFPage type exposes the following members.

Constructors
  NameDescription
Public methodPDFPage(BaseImage)
Convert a raster image to a PDF page. This constructor also create PDFDocument object as a parent for the page.
Public methodPDFPage(BaseImage, ImageCompress)
Convert a raster image to a PDF page with specified image compression algorithm. This constructor also create PDFDocument object as a parent for the page.
Top
Methods
  NameDescription
Public methodAddAcroForm
Public methodAddAnnotation
Public methodAddImage(Bitmap, PointF)
Public methodAddImage(BaseImage, PointF)
Public methodAddImage(BaseImage, Rectangle, ImageCompress, TransformType)
Public methodAddImage(Bitmap, PointF, Single, Single, Single, Single, Single)
Public methodAddImage(BaseImage, PointF, Single, Single, Single, Single, Single)
Public methodAddPageField
Public methodAddPDFAnnot
Public methodBottomToTop
Public methodCharAt
Charactor on the specified index
Public methodCharBox
Bounding box of the specified character
Public methodClone
Clones this PDF page. Only clone those contents for drawing the page.
Public methodConvertToImage
Public methodConvertToImage(Size)
Converts page to an image of specified dimension, the unit is pixel
(Overrides BasePageConvertToImage(Size).)
Public methodConvertToImage(Int32)
Public methodConvertToImage(Single)
Public methodConvertToImage(ImageType, String)
Converts page to an image in specified type using default resolution 96 dpi, and save it to file.
(Overrides BasePageConvertToImage(ImageType, String).)
Public methodConvertToImage(ImageType, ImageOutputOption, String) (Overrides BasePageConvertToImage(ImageType, ImageOutputOption, String).)
Public methodConvertToImage(ImageType, Int32, String)
Converts page to an image in specified type using specified resolution, and save it to file.
(Overrides BasePageConvertToImage(ImageType, Int32, String).)
Public methodConvertToImage(ImageType, Single, String)
Converts page to an image in specified type using zoom value, and save it to file.
(Overrides BasePageConvertToImage(ImageType, Single, String).)
Public methodConvertToImageBytes(ImageType)
Public methodConvertToImageBytes(ImageType, Int32)
Public methodConvertToImageBytes(ImageType, Single)
Public methodConvertToImageFitHeight
Convert page to REImage with a fixed ratio, and its height fit to the specified value.
(Overrides BasePageConvertToImageFitHeight(Int32).)
Public methodConvertToImageFitWidth
Convert page to REImage with a fixed ratio, and its width fit to the specified value.
(Overrides BasePageConvertToImageFitWidth(Int32).)
Public methodConvertToImageStream(ImageType, Stream)
Public methodConvertToImageStream(ImageType, ImageOutputOption, Stream) (Overrides BasePageConvertToImageStream(ImageType, ImageOutputOption, Stream).)
Public methodConvertToImageStream(ImageType, Int32, Stream)
Public methodConvertToImageStream(ImageType, Single, Stream)
Public methodConvertToVectorImage(String, String, ContextType, RelativeType)
File name format: [directory] + [fileName] + [extension]
Public methodConvertToVectorImage(ContextType, String, String, RelativeType)
File name format: [directory] + [fileName] + page index + [extension]
(Overrides BasePageConvertToVectorImage(ContextType, String, String, RelativeType).)
Public methodCrop
Crop this page by the given rectangle
Public methodCropImage
Renders the region in the page delimited by the source rectangle to the an image of target size. Note that the dimension of source rectangle is measured at default 96 resolution, if the page is resized by a certain factor the source rectangle should be resized accordingly.
(Overrides BasePageCropImage(Rectangle, Size).)
Public methodDispose
Releases all resources used by the PDFPage
(Overrides BasePageDispose.)
Public methodDraw(Graphics, PointF)
draw the whole page onto graphics with specified location
(Overrides BasePageDraw(Graphics, PointF).)
Public methodDraw(Graphics, PointF, Size)
draw the whole page onto graphics with specified location and target size
(Overrides BasePageDraw(Graphics, PointF, Size).)
Public methodDraw(Graphics, PointF, Int32)
draw the whole page onto graphics with specified location and resolution
(Overrides BasePageDraw(Graphics, PointF, Int32).)
Public methodDraw(Graphics, PointF, Rectangle, Size)
render the speicified region of page to target size and draw it onto graphics with specified location
(Overrides BasePageDraw(Graphics, PointF, Rectangle, Size).)
Public methodDrawTextOnToContext (Overrides BasePageDrawTextOnToContext(BaseContext).)
Public methodExtractImages
Extract all images from a specified PDF page
Public methodExtractText
Obtain the specified text
Public methodGetBitmap
draw this page on bitmap
(Overrides BasePageGetBitmap.)
Public methodGetBitmap(Int32)
draw this page on bitmap with specified resolution
(Overrides BasePageGetBitmap(Int32).)
Public methodGetBitmap(Single)
draw this page on bitmap with specified zoom factor
(Overrides BasePageGetBitmap(Single).)
Public methodGetBitmap(Rectangle, Size)
render the speicified region of page to target size and draw it onto a bitmap
(Overrides BasePageGetBitmap(Rectangle, Size).)
Public methodGetCharBox
Bounding box of a range of characters
Public methodGetCharCount
The total number of characters
Public methodGetHeight
Gets physical height of the page in inches.
(Overrides BasePageGetHeight.)
Public methodGetRotation
Get the rotation angle of the page in degrees. Valid values: 0, 90, 180, 270
(Overrides BasePageGetRotation.)
Public methodGetWidth
Gets physical width of the page in inches.
(Overrides BasePageGetWidth.)
Public methodReadLine
Reads a line of characters
Public methodRedact(RedactionOptions)
Public methodRedact(RectangleF, RedactionOptions)
Public methodRenderToContext(BaseContext)
Public methodRenderToContext(BaseContext, Int32)
Public methodRenderToContext(BaseContext, Int32, Int32)
Public methodResetOpmgr
Public methodSearch
Search the specified text
Public methodSetResolution
Public methodSetRotation (Overrides BasePageSetRotation.)
Top
Fields
  NameDescription
Public fieldStatic memberIsRenderAnnotation
Flag to indicate if showing annotation in page rendering. Default: true
Public fieldStatic memberIsRenderImage
Flag to indicate if showing images in page rendering. Default: true Note: image here only includes XObject Image.
Top
Events
  NameDescription
Public eventStatic memberonPageRenderedAction
Top
See Also