ITabFootnote.CustomMark

Syntax

CustomMark: String;

Description

The CustomMark property determines a custom label that is used to determine the footnote.

Comments

Default label is not set, the label set for the whole collection or automatic numeration are used for the footnote.

Example

Executing the example requires a form with the Button1 button, the UiTabSheet component named UiTabSheet1 and any visualizers, for which UiTabSheet1 is set as a data source.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    TabSheet: ITabSheet;
    Footnotes: ITabFootnotes;
    Footnote: ITabFootnote;
Begin
    TabSheet := UiTabSheet1.TabSheet;
    Footnotes := TabSheet.Footnotes;
    Footnote := Footnotes.Add(00);
    Footnote.CustomMark := "+";
    Footnote.Text := "Average growth";
    Footnote.CustomMarkFontName := "Terminal";
    Footnote := Footnotes.Add(01);
    Footnote.CustomMark := "-";
    Footnote.CustomMarkFontName := "Terminal";
    Footnote.Text := "Average decrease";
End Sub Button1OnClick;

On clicking the button for the A0 and B0 cells two footmarks will be added. Label, font for label drawing and text will be set for the footmark.

See also:

ITabFootnote