TCustomRichView.ZoomPercent [FMX]

<< Click to display table of contents >>

TCustomRichView.ZoomPercent [FMX]

Gets or sets the zoom percentage of the displayed document.

property ZoomPercent: Single;

(introduced in version 20)

This zooming affects only displaying in TRichView. It does not affect printing, exporting and importing to files.

After changing value of this property, call Format or Reformat.

Zooming is applied to almost everything: margins, background images, items in a document. However, there are exceptions; the following items are not affected:

controls.

You need to scale controls yourself.

 

Default value:

100 (meaning 100% zoom)

See also:

DocumentPixelsPerInch (analog for VCL)