Click or drag to resize

PDFViewCtrlShowRect Method

Changes the viewing area to fit a rectangle rect on page page_num. Rectangle must be specified in page coordinates. This will adjust current page and zoom appropriately.

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public bool ShowRect(
	int page_num,
	Rect rect
)

Parameters

page_num
Type: SystemInt32
given page number
rect
Type: pdftron.PDFRect
rectangle specifies the region to show in view

Return Value

Type: Boolean
true if successful, false otherwise.
Remarks
This method is deprecated, since the GDI+ rasterizer itself is deprecated and will be removed in a future version of PDFNet. It is strongly recommended to use the built-in rasterizer and to use the XPS print path where vector conversion is needed.
See Also