Sets the zoom type to use when displaying the page in the view to FitRect and the Left, Top, Width and Height properties to the corresponding properties of the specified box.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public void SetFitRect(
	PdfBox box
)
VB
Public Sub SetFitRect ( 
	box As PdfBox
)

Parameters

box
Type: BitMiracle.Docotic.Pdf.PdfBox

The PdfBox structure that specifies the new values for Left, Top, Width and Height properties.

The vertical coordinates of the box are relative to the bottom edge of the page.

Use ToRectangle(Double) method to map the box to PdfPage coordinate space.

See Also