[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Operators.OperatorList.Build

Build Method

Build(Page, RectangleF, ViewState, float, float, bool, bool)

Creates the OperatorList object from page's content stream.

Declaration
public static OperatorList Build(Page page, RectangleF bounds, ViewState viewState, float dpiX, float dpiY, bool ignoreErrors, bool includeTextPosition)
Public Shared Function Build(page As Page, bounds As RectangleF, viewState As ViewState, dpiX As Single, dpiY As Single, ignoreErrors As Boolean, includeTextPosition As Boolean) As OperatorList
Parameters
Type Name Description
Page page

The Page object.

RectangleF bounds

The draw bounds.

ViewState viewState

The ViewState object.

float dpiX

The horizontal resolution.

float dpiY

The vertical resolution.

bool ignoreErrors

Indicates whether to ignore errors in PDF content stream during rendering.

bool includeTextPosition

Indicates whether to include information about position of text in content stream into PDF operators.

Returns
Type Description
OperatorList

The created OperatorList object.

Build(Page, RectangleF, ViewState, float, float, bool)

Creates the OperatorList object from page's content stream.

Declaration
public static OperatorList Build(Page page, RectangleF bounds, ViewState viewState, float dpiX, float dpiY, bool ignoreErrors)
Public Shared Function Build(page As Page, bounds As RectangleF, viewState As ViewState, dpiX As Single, dpiY As Single, ignoreErrors As Boolean) As OperatorList
Parameters
Type Name Description
Page page

The Page object.

RectangleF bounds

The draw bounds.

ViewState viewState

The ViewState object.

float dpiX

The horizontal resolution.

float dpiY

The vertical resolution.

bool ignoreErrors

Indicates whether to ignore errors in PDF content stream during rendering.

Returns
Type Description
OperatorList

The created OperatorList object.

Build(Page, RectangleF, float, float, bool)

Creates the OperatorList object from page's content stream.

Declaration
public static OperatorList Build(Page page, RectangleF bounds, float dpiX, float dpiY, bool ignoreErrors)
Public Shared Function Build(page As Page, bounds As RectangleF, dpiX As Single, dpiY As Single, ignoreErrors As Boolean) As OperatorList
Parameters
Type Name Description
Page page

The Page object.

RectangleF bounds

The draw bounds.

float dpiX

The horizontal resolution.

float dpiY

The vertical resolution.

bool ignoreErrors

Indicates whether to ignore errors in PDF content stream during rendering.

Returns
Type Description
OperatorList

The created OperatorList object.

Build(Page, float, float, bool, bool)

Creates the OperatorList object from page's content stream. The page bounds calculated using GetRenderSize(float, float) method.

Declaration
public static OperatorList Build(Page page, float dpiX, float dpiY, bool ignoreErrors, bool includeTextPosition)
Public Shared Function Build(page As Page, dpiX As Single, dpiY As Single, ignoreErrors As Boolean, includeTextPosition As Boolean) As OperatorList
Parameters
Type Name Description
Page page

The Page object.

float dpiX

The horizontal resolution.

float dpiY

The vertical resolution.

bool ignoreErrors

Indicates whether to ignore errors in PDF content stream during rendering.

bool includeTextPosition

Indicates whether to include information about position of text in content stream into PDF operators.

Returns
Type Description
OperatorList

The created OperatorList object.

Build(Page, float, float, bool)

Creates the OperatorList object from page's content stream. The page bounds calculated using GetRenderSize(float, float) method.

Declaration
public static OperatorList Build(Page page, float dpiX, float dpiY, bool ignoreErrors)
Public Shared Function Build(page As Page, dpiX As Single, dpiY As Single, ignoreErrors As Boolean) As OperatorList
Parameters
Type Name Description
Page page

The Page object.

float dpiX

The horizontal resolution.

float dpiY

The vertical resolution.

bool ignoreErrors

Indicates whether to ignore errors in PDF content stream during rendering.

Returns
Type Description
OperatorList

The created OperatorList object.