Namespace TallComponents.PDF.Rasterizer
Class Page
An existing page inside a document.
Syntax
public class Page : Object
Properties
Rectangle ArtBox
A rectangle, expressed in points with the origin at the bottom left corner, defining the extent of the page's meaningful content (including potential
white space) as intended by the page's creator.
Rectangle BleedBox
A rectangle, expressed in points with the origin at the bottom left corner, defining the region to which the contents of the
page should be clipped when output in a production environment.
Rectangle CropBox
A rectangle, expressed in points with the origin at the bottom left corner, defining the visible region of default user space.
When the page is displayed or printed, its contents are to be clipped (cropped) to this rectangle and then imposed
on the output medium in some implementation-defined manner.
Double Height
The height of the page in points as it appears in the viewer. This means that any crop box or rotate have been taken into account.
String Label
The Label of this page.
Rectangle MediaBox
A rectangle, expressed in points with the origin at the bottom left corner, defining the boundaries of the physical medium
on which the page is intended to be displayed or printed.
Orientation Orientation
Orientation of this page in degrees. Default is Rotate0.
Int32 Rotation
Rotation of the page in degrees.
Rectangle TrimBox
A rectangle, expressed in points with the origin at the bottom left corner, defining the intended dimensions of the finished page after trimming.
Double UserUnit
A positive number that shall give the size of default user space units, in multiples of 1 ⁄ 72 inch.
Double Width
The width of the page in points as it appears in the viewer. This means that any crop box or rotate have been taken into account.
Methods
SKMatrix CalculateMatrix(SKMatrix,PageBoundary)
Calculates matrix for methods Page.Draw(SKBitmap, SKMatrix, ...) and DrawJob.Start(SKBitmap, SKMatrix, ...)
SKMatrix CalculateMatrix(Single,Single,Single,PageBoundary)
Calculates matrix for methods Page.Draw(SKBitmap, SKMatrix, ...) and DrawJob.Start(SKBitmap, SKMatrix, ...)
Void ConvertToTiff(Stream,ConvertToTiffOptions)
Convert this PDF page to an image.
Void ConvertToTiff(Stream,ConvertToTiffOptions,RenderSettings)
Convert this PDF page to an image.
Void ConvertToTiff(Stream,ConvertToTiffOptions,RenderSettings,Summary)
Convert this PDF page to an image.
Void ConvertToTiff(Stream,ConvertToTiffOptions,RenderSettings,Rectangle,Summary)
Convert a rectangle of this PDF page to an image.
Void Draw(SKBitmap,SKMatrix,RenderSettings,Summary)
Draw this PDF page to a SKBitmap
Void Draw(SKSurface,SKImageInfo,Single,RenderSettings,Summary)
Draw this PDF page to a SKSurface
Void SaveAsBitmap(Stream,ImageEncoding,Single,RenderSettings)
Save this PDF page as a bitmap.