'Declaration Public Sub AddTab( _ ByVal position As Extent, _ Optional ByVal alignment As TabStopAlignment, _ Optional ByVal leader As TabStopLeader _ )
public void AddTab( Extent position, TabStopAlignment alignment, TabStopLeader leader )
Exception | Description |
---|---|
System.InvalidOperationException | if collection is read only. |
Note: all tab stops in the collection are ordered via their ascending positions. When a new tab stop is added it is automatically slotted appropriately. If another tab stop was already at that position, the old tab stop is replaced by the one that was added. Therefore, there can never be 2 tab stops with the same position in the collection.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2