ImageEn, unit iexRulers

TIEViewRulerParams.ParentFont

TIEViewRulerParams.ParentFont


Declaration

property ParentFont: Boolean;


Description

Specifies whether to use the font of the parent control or a custom font for label text.

Rulers with default font:


Default: True


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;