Link Search Menu Expand Document

PDFViewerControlTranslateRectangleToViewport Method

Translates coordinates of rectangle to component's canvas coordinates. Might be useful in CustomPaint event.

Namespace:Bytescout.PDFViewer
Assembly: Bytescout.PDFViewer (in Bytescout.PDFViewer.dll) Version: 13.0.1.4282-master
Syntax
public Rectangle TranslateRectangleToViewport(
	Rectangle rectangle
)

Parameters

rectangle
Type: System.DrawingRectangle
Input rectangle.

Return Value

Type: Rectangle
Translated rectangle.
See Also

Reference


Copyright © 2016 - 2021 ByteScout