TSRichViewEdit.InZoomRect

Top  Previous  Next

Zoom the rectangle in by the specified Ratio.

function InZoomRect(r: TRect; Ratio: Single): TRect;

This method multiples all coordinates in r by Ratio and returns the modified rectangle.

This method may be useful for calculating coordinates in TSRichViewEdit component.

See also:

OutZoomRect

ViewProperty.ZoomPercent


ScaleRichView © Ilya Zelensky & Sergey Tkachenko