ITabFootnotes.NumberStyle

Syntax

NumberStyle: TabNumberStyle;

Description

The NumberStyle property determines style of numbers used for footnote numbering.

Comments

By default Arabic numbers are used for footnote numeration by default. If required, style of numbers can be changed or it is possible to set custom mark which will be used to determine all footnotes.

To get footnote number taking into account the selected style, use the ITabFootnote.NumberText property.

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;
    Footnotes.Font.Bold := TriState.OnOption;
    Footnotes.NumberStyle := TabNumberStyle.UppercaseCyrillic;
    Footnote := Footnotes.Add(00);
    Footnote.Text := "Data block beginning";
    Debug.WriteLine(Footnote.Number);
    Debug.WriteLine(Footnote.NumberText);
End Sub Button1OnClick;

Clicking the button for the A0 cell of the table creates a footnote. Cyrillic letters in uppercase will be used for footnote numeration. Obtained numeric number and footnote number in text format will be displayed to the development environment console.

See also:

ITabFootnotes