Page Class

Apitron PDF Rasterizer help
Apitron.PDF.Rasterizer library for .NET
Represents a page in PDF file.
Inheritance Hierarchy

SystemObject
  Apitron.PDF.RasterizerPageInfo
    Apitron.PDF.RasterizerPage

Namespace:  Apitron.PDF.Rasterizer
Assembly:  Apitron.PDF.Rasterizer (in Apitron.PDF.Rasterizer.dll) Version: 3.0.154.0 (3.0.154.0)
Syntax

public sealed class Page : PageInfo

The Page type exposes the following members.

Properties

  NameDescription
Public propertyArtBox
A rectangle, expressed in default user space units, that shall define the extent of the page’s meaningful content (including potential white space) as intended by the page’s creator.
(Inherited from PageInfo.)
Public propertyBleedBox
A rectangle, expressed in default user space units, that shall define the region to which the contents of the page shall be clipped when output in a production environment.
(Inherited from PageInfo.)
Public propertyCropBox
A rectangle, expressed in default user space units, that shall define the visible region of default user space. When the page is displayed or printed, its contents shall be clipped (cropped) to this rectangle and then shall be imposed on the output medium in some implementation-defined manner.
(Inherited from PageInfo.)
Public propertyHeight
The height of the rectangle created by intersecting MediaBox and CropBox if it's present and applying Rotate component. It gives you the height of the page's visible area, as it would be displayed into Acrobat Reader.
(Inherited from PageInfo.)
Protected propertyIsCanceled
Gets or sets a value indicating whether this instance is canceled.
(Inherited from PageInfo.)
Public propertyLabel
Gets the page label.
Public propertyLinks
Gets the links.
(Inherited from PageInfo.)
Public propertyMediaBox
A rectangle, expressed in default user space units, that shall define the boundaries of the physical medium on which the page shall be displayed or printed.
(Inherited from PageInfo.)
Public propertyRotate
The number of degrees by which the page shall be rotated clockwise when displayed or printed. The value shall be a multiple of 90. Default value: 0.
(Inherited from PageInfo.)
Public propertyTrimBox
A rectangle, expressed in default user space units, that shall define the intended dimensions of the finished page after trimming.
(Inherited from PageInfo.)
Public propertyWidth
The width of the rectangle created by intersecting MediaBox and CropBox if it's present and applying Rotate component. It gives you the width of the page's visible area, as it would be displayed into Acrobat Reader.
(Inherited from PageInfo.)
Top
Methods

  NameDescription
Public methodRender(RenderingSettings, ErrorLogger)
Renders the page to an image using its width and height as dimensions for resulting image.
Public methodRender(Bitmap, RenderingSettings, ErrorLogger)
Renders the page to an external bitmap with pixel format Format32bppArgb.
Public methodRender(Resolution, RenderingSettings, ErrorLogger)
Renders the page to an image using the desired resolution.
Public methodRender(Int32, Int32, RenderingSettings, ErrorLogger)
Renders the page to an image.
Public methodRender(Resolution, Rectangle, RenderingSettings, ErrorLogger)
Renders the page to an image using the desired resolution.
Public methodRender(Int32, Int32, Rectangle, RenderingSettings, ErrorLogger)
Renders the page to an image.
Public methodRenderAsBytes(Resolution, RenderingSettings, ErrorLogger)
Renders the specified page to an image represented by array of bytes with pixel format BGRA8888(hence a pixel takes 4 bytes), the stride width would be desiredWidth*4 in this case.
Public methodRenderAsBytes(Int32, Int32, RenderingSettings, ErrorLogger)
Renders the specified page to an image represented by array of bytes with pixel format BGRA8888(hence a pixel takes 4 bytes), the stride width would be desiredWidth*4 in this case.
Public methodRenderAsBytes(Resolution, Rectangle, RenderingSettings, ErrorLogger)
Renders the specified page to an image represented by array of bytes with pixel format BGRA8888(hence a pixel takes 4 bytes), the stride width would be desiredWidth*4 in this case.
Public methodRenderAsBytes(Int32, Int32, Rectangle, RenderingSettings, ErrorLogger)
Renders the specified page to an image represented by array of bytes with pixel format BGRA8888(hence a pixel takes 4 bytes), the stride width would be desiredWidth*4 in this case.
Public methodRenderAsBytes(Int32, Int32, Byte, RenderingSettings, ErrorLogger)
Renders the specified page to an image represented by array of bytes with pixel format BGRA8888(hence a pixel takes 4 bytes), the stride width would be desiredWidth*4 in this case.
Public methodRenderAsInts(Resolution, RenderingSettings, ErrorLogger)
Renders the page to an image represented by array of integers with pixel format ARGB8888(hence one array element represents one pixel), the stride width would be desiredWidth in this case.
Public methodRenderAsInts(Int32, Int32, RenderingSettings, ErrorLogger)
Renders the page to an image represented by array of integers with pixel format ARGB8888(hence one array element represents one pixel), the stride width would be desiredWidth in this case.
Public methodRenderAsInts(Resolution, Rectangle, RenderingSettings, ErrorLogger)
Renders the page to an image represented by array of integers with pixel format ARGB8888(hence one array element represents one pixel), the stride width would be desiredWidth in this case.
Public methodRenderAsInts(Int32, Int32, Rectangle, RenderingSettings, ErrorLogger)
Renders the page to an image represented by array of integers with pixel format ARGB8888(hence one array element represents one pixel), the stride width would be desiredWidth in this case.
Public methodRenderAsInts(Int32, Int32, Int32, RenderingSettings, ErrorLogger)
Renders the specified page to an image represented by array of integers with pixel format ARGB8888(hence one array element represents one pixel), the stride width would be desiredWidth in this case.
Public methodTransformRegion(SearchResultRegion, Resolution, RenderingSettings)
Transforms the region specified in original page space, to transformed page space using the RenderingSettings given for rendering. This method can be used for SearchResultItem mapping to rendered page.
Public methodTransformRegion(SearchResultRegion, Int32, Int32, RenderingSettings)
Transforms the region specified in original page space, to transformed page space using the RenderingSettings given for rendering. This method can be used for SearchResultItem mapping to rendered page.
Top
See Also

Reference