ITabFootnotes.CustomMark

Fore Syntax

CustomMark: String;

Fore.NET Syntax

CustomMark: String;

Description

The CustomMark property determines custom label that is used to determine footnotes.

Comments

By default label is not set and for each footnote it is possible to use proper label or automatic numeration.

Fore 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.CustomMark := #167; //Symbol code - §
    Footnotes.CustomMarkFontName := "Terminal";
    Footnote := Footnotes.Add(00);
    Footnote.Text := "Description in the first section of documentation";
    Footnote := Footnotes.Add(01);
    Footnote.Text := "Description in the second section of documentation";
End Sub Button1OnClick;

On clicking the button for the A0 and B0 cells two footmarks will be added. Section character will be used as label for footnotes.

Fore.NET Example

The requirements and result of the Fore.NET Example execution match with those in the Fore Example. Use Fore.NET analogs instead of Fore components.

Imports Prognoz.Platform.Interop.Tab;

Private Sub button1_Click(sender: System.Object; e: System.EventArgs);
Var
    TabSheet: ITabSheet;
    Footnotes: ITabFootnotes;
    Footnote: ITabFootnote;
Begin
    TabSheet := uiTabSheetNet1.TabSheetUi.TabSheet;
    Footnotes := TabSheet.Footnotes;
    Footnotes.CustomMark := char.ConvertFromUtf32(167); //Character code - §
    Footnotes.CustomMarkFontName := "Terminal";
    Footnote := Footnotes.Add(00);
    Footnote.Text := "Description in the first section of documentation";
    Footnote := Footnotes.Add(01);
    Footnote.Text := "Description in the second section of documentation";
End Sub;

See also:

ITabFootnotes