ImageEn, unit iexRulers

TIEViewRulerParams.Font

TIEViewRulerParams.Font


Declaration

property Font: TFont;


Description

Specifies a custom font to used for label text.
This property is only used if ParentFont = False.

Rulers with default font:


Note: This value may be overridden by VCL theming colors. Set EnableTheming to false to prevent this.


Example

// Create narrow rulers
ImageEnView1.RulerParams.ParentFont := False;
ImageEnView1.RulerParams.Font.Size  := 6;
ImageEnView1.RulerParams.HorzHeight := 20;
ImageEnView1.RulerParams.VertWidth  := 20;
ImageEnView1.RulerParams.GripHeight := 10;