PDFViewerControlTranslateRectangleToViewport Method ByteScout PDF Viewer SDK
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: 12.0.0.4063-master
Syntax

public Rectangle TranslateRectangleToViewport(
	Rectangle rectangle
)

Parameters

rectangle
Type: System.DrawingRectangle
Input rectangle.

Return Value

Type: Rectangle
Translated rectangle.
See Also

Reference