[]
        
(Showing Draft Content)

C1.C1Preview.DocumentLocation.-ctor

DocumentLocation Constructor

DocumentLocation(int)

Initializes a new instance of the DocumentLocation class.

Declaration
public DocumentLocation(int pageIndex)
Parameters
Type Name Description
int pageIndex

The 0-based page index.

DocumentLocation(int, int, RectangleD, UnitTypeEnum, float)

Initializes a new instance of the DocumentLocation class.

Declaration
public DocumentLocation(int pageNo, int pageIndex, RectangleD bounds, UnitTypeEnum units, float dpi)
Parameters
Type Name Description
int pageNo

The logical page number.

int pageIndex

The 0-based page index.

RectangleD bounds

The bounds on page (specified in units).

UnitTypeEnum units

The units used to specify bounds.

float dpi

The resolution if units is pixels.

DocumentLocation(C1Page, RectangleD)

Initializes a new instance of the DocumentLocation class.

Declaration
public DocumentLocation(C1Page page, RectangleD bounds)
Parameters
Type Name Description
C1Page page

The target document page.

RectangleD bounds

The target bounds on page.

DocumentLocation(C1Page)

Initializes a new instance of the DocumentLocation class.

Declaration
public DocumentLocation(C1Page page)
Parameters
Type Name Description
C1Page page

The target document page.

DocumentLocation(IDocumentLocation)

Initializes a new instance of the DocumentLocation class.

Declaration
public DocumentLocation(IDocumentLocation documentLocation)
Parameters
Type Name Description
IDocumentLocation documentLocation

The target location.