Apitron.PDF.Rasterizer library for .NET
SystemObject
Apitron.PDF.RasterizerPageInfo
Apitron.PDF.RasterizerPage
Assembly: Apitron.PDF.Rasterizer (in Apitron.PDF.Rasterizer.dll) Version: 3.0.154.0 (3.0.154.0)
Top
Top
Represents a page in PDF file.
Inheritance Hierarchy
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
The Page type exposes the following members.
Properties
Name | Description | |
---|---|---|
ArtBox |
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.) | |
BleedBox |
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.) | |
CropBox |
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.) | |
Height |
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.) | |
IsCanceled |
Gets or sets a value indicating whether this instance is canceled.
(Inherited from PageInfo.) | |
Label |
Gets the page label.
| |
Links |
Gets the links.
(Inherited from PageInfo.) | |
MediaBox |
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.) | |
Rotate |
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.) | |
TrimBox |
A rectangle, expressed in default user space units, that shall define the intended dimensions of the finished page after trimming.
(Inherited from PageInfo.) | |
Width |
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.) |
Methods
Name | Description | |
---|---|---|
Render(RenderingSettings, ErrorLogger) |
Renders the page to an image using its width and height as dimensions for resulting image.
| |
Render(Bitmap, RenderingSettings, ErrorLogger) |
Renders the page to an external bitmap with pixel format Format32bppArgb.
| |
Render(Resolution, RenderingSettings, ErrorLogger) |
Renders the page to an image using the desired resolution.
| |
Render(Int32, Int32, RenderingSettings, ErrorLogger) |
Renders the page to an image.
| |
Render(Resolution, Rectangle, RenderingSettings, ErrorLogger) |
Renders the page to an image using the desired resolution.
| |
Render(Int32, Int32, Rectangle, RenderingSettings, ErrorLogger) |
Renders the page to an image.
| |
RenderAsBytes(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.
| |
RenderAsBytes(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.
| |
RenderAsBytes(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.
| |
RenderAsBytes(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.
| |
RenderAsBytes(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.
| |
RenderAsInts(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.
| |
RenderAsInts(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.
| |
RenderAsInts(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.
| |
RenderAsInts(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.
| |
RenderAsInts(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.
| |
TransformRegion(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.
| |
TransformRegion(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.
|
See Also