TSRichViewEdit.InZoomRect

<< Click to display table of contents >>

TSRichViewEdit.InZoomRect

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