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: Even if ParentFont is enabled, the color of the font is specified by TextColor and InvalidTextColor

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

ParentFont
TextColor
InvalidTextColor