Resets the offset array to its default state.
public void ResetButtonOffsets();
Public Sub ResetButtonOffsets()
The following example demonstrates how to use the 'Reset
TXTextControl.ButtonBar buttonBar1 = new TXTextControl.ButtonBar();
buttonBar1.ReadOnly = false;
buttonBar1.ButtonPositions = new TXTextControl.Button[]{
TXTextControl.Button.FontBoldButton,
TXTextControl.Button.FontItalicButton};
buttonBar1.ButtonSeparators = new bool[] { true };
buttonBar1.ButtonOffsets = new int[] {30}; // in this line the ButtonOffsets are set.
buttonBar1.ResetButtonOffsets(); // here, the ButtonOffsets are reset to its default state.
Dim buttonBar1 As TXTextControl.ButtonBar = New TXTextControl.ButtonBar()
buttonBar1.[ReadOnly] = False
buttonBar1.ButtonPositions = New TXTextControl.Button() {TXTextControl.Button.FontBoldButton, TXTextControl.Button.FontItalicButton}
buttonBar1.ButtonSeparators = New Boolean() {True}
buttonBar1.ButtonOffsets = New Integer() {30} ' in this line the ButtonOffsets are set.
buttonBar1.ResetButtonOffsets() ' here, the ButtonOffsets are reset to its default state.