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:


Note: Even if ParentFont is enabled, the color of the font is specified by TextColor and InvalidTextColor

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;


See Also

Font
TextColor
InvalidTextColor