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
)
Public Function ShowRect (
page_num As Integer,
rect As Rect
) As Boolean
public:
virtual bool ShowRect(
[InAttribute] int page_num,
[InAttribute] Rect^ rect
) sealed
function ShowRect(page_num, rect);
Parameters
- page_num
- Type: SystemInt32
given page number
- rect
- Type: pdftron.PDFRect
rectangle specifies the region to show in view
Return Value
Type:
Booleantrue 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