Click or drag to resize
BasePage Class
Defines objects that represents a page in the document.
Inheritance Hierarchy
SystemObject
  RasterEdge.Imaging.BasicBasePage
    More...

Namespace: RasterEdge.Imaging.Basic
Assembly: RasterEdge.Imaging.Basic (in RasterEdge.Imaging.Basic.dll) Version: 9.8.7.60526 (9.8.7.60526)
Syntax
public abstract class BasePage

The BasePage type exposes the following members.

Methods
  NameDescription
Public methodAddAnnotation
Add annotation
Public methodAddImage(BaseImage, PointF)
Add image to page using the default resolution 96 dpi, and default ImageCompress type.
Public methodAddImage(BaseImage, Rectangle, ImageCompress, TransformType)
Add image to page using the default resolution 96 dpi, specifying Image compression type, target rectangle and transformation type.
Public methodAddImage(BaseImage, PointF, Single, Single, Single, Single, Single)
Add image to page using the default resolution 96 dpi, and default ImageCompress type. The image Bound bigger than image
Public methodBottomToTop
Tests if the page is reversed horizontally.
Public methodConvertToImage
Converts page to an image using default resolution which is 96 dpi.
Public methodConvertToImage(Size)
Converts page to an image of specified dimension, the unit is pixel
Public methodConvertToImage(Int32)
Converts page to an image with the specified resolution (for both horizontal and vertical).
Public methodConvertToImage(Single)
Coverts page to an image with a zooming factor.
Public methodConvertToImage(ImageType, String)
Converts page to an image in specified type using default resolution 96 dpi, and save it to file.
Public methodConvertToImage(ImageType, ImageOutputOption, String)
Converts page to an image in specified type using specified settings by ImageOutputOption.
Public methodConvertToImage(ImageType, Int32, String)
Converts page to an image in specified type using specified resolution, and save it to file.
Public methodConvertToImage(ImageType, Single, String)
Converts page to an image in specified type using zoom value, and save it to file.
Public methodConvertToImageBytes(ImageType)
Converts page to an image in specified type using default resolution 96 dpi, and save it to btye array.
Public methodConvertToImageBytes(ImageType, Int32)
Converts page to an image in specified type using specified resolution, and save it to byte array.
Public methodConvertToImageBytes(ImageType, Single)
Converts page to an image in specified type using zoom value, and save it to btye array.
Public methodConvertToImageFitHeight
Converts page to an image with a fixed ratio, and its height fit to the specified value.
Public methodConvertToImageFitWidth
Converts page to an image with a fixed ratio, and its width fit to the specified value.
Public methodConvertToImageStream(ImageType, Stream)
Converts page to an image in specified type using default resolution 96 dpi, and save it to stream.
Public methodConvertToImageStream(ImageType, ImageOutputOption, Stream)
Convert page to an image with specified settings by ImageOutputOption.
Public methodConvertToImageStream(ImageType, Int32, Stream)
Converts page to an image in specified type using zoom value, and save it to stream.
Public methodConvertToImageStream(ImageType, Single, Stream)
Converts page to an image in specified type using zoom value, and save it to stream. Zoom value is based on default 96 dpi.
Public methodConvertToVectorImage(ContextType, String, String, RelativeType)
Converts page to the target type file format with sepcified file name and saves it to a file on the local disk. Throw an exception in condition: 1: the target context type has not been developed yet. 2: the required assembly has not been added.
Public methodConvertToVectorImage(ContextType, String, String, RelativeType, RELength, RELength)
This interface should only implement by Excel project Converts page to the target type file format with sepcified file name and saves it to a file on the target directory Throw an exception in condition: 1: the target context type has not been developed yet. 2: the required assembly has not been added.
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.
Public methodDispose
Releases all resources used by this page object.
Public methodDraw(Graphics, PointF)
draw the whole page onto graphics with specified location
Public methodDraw(Graphics, PointF, Size)
draw the whole page onto graphics with specified location and target size
Public methodDraw(Graphics, PointF, Int32)
draw the whole page onto graphics with specified location and resolution
Public methodDraw(Graphics, PointF, Rectangle, Size)
render the speicified region of page to target size and draw it onto graphics with specified location
Public methodDrawTextOnToContext
Only PDF is different. Other page could use RenderToContext to implement this interface
Public methodGetBitmap
draw this page on bitmap
Public methodGetBitmap(Int32)
draw this page on bitmap with specified resolution
Public methodGetBitmap(Single)
draw this page on bitmap with specified zoom factor
Public methodGetBitmap(Rectangle, Size)
render the speicified region of page to target size and draw it onto a bitmap
Public methodGetHeight
Gets physical height of the page in inches.
Public methodGetRotation
Gets the value of rotation.
Public methodGetWidth
Gets physical width of the page in inches.
Public methodRenderToContext(BaseContext)
Renders this page to the context with defalut resolution.
Public methodRenderToContext(BaseContext, Int32)
Renders this page to the context and sets the resolution to the specified value.
Public methodRenderToContext(BaseContext, Int32, Int32)
Renders this page to the context and set the resolutions to the specified values.
Public methodSetRotation
Sets the value of rotation.
Top
See Also
Inheritance Hierarchy