Class Page

Inheritance
System.Object
Page
Namespace: PSPDFKit
Assembly: PSPDFKit.dll
Syntax
public class Page : object

Methods

GetPageInfo()

Get page information, like the page bounding box

Declaration
public PageInfo GetPageInfo()
Returns
Type Description
PageInfo

PageInfo representing the page.

GetTextLines()

Retrieves all the text on the page split into a list of TextBlock representing each line of text and it's coordinates. Text lines end with CRLF (\r\n).

Declaration
public List<TextBlock> GetTextLines()
Returns
Type Description
List<TextBlock>

A list of TextBlock representing the lines of text and their coordinates on the page.

RenderPage()

Render a page to a bitmap with the dimensions found in GetBoundingBox().

Declaration
public Bitmap RenderPage()
Returns
Type Description
Bitmap

A with the rendered page.

RenderPage(Int32, Int32)

Render a page to a bitmap.

Declaration
public Bitmap RenderPage(int width, int height)
Parameters
Type Name Description
System.Int32 width

Width of the rendered image.

System.Int32 height

Height of the rendered image.

Returns
Type Description
Bitmap

A with the rendered page.