GemBox.Presentation
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    TabStop Struct

    Namespace:
    GemBox.Presentation
    Assembly:
    GemBox.Presentation.dll

    Represents a custom tab stop to be used on a line of text when there are one or more tab characters present within the text.

    • C#
    • VB.NET
    public struct TabStop : IEquatable<TabStop>
    Public Structure TabStop
        Implements IEquatable(Of TabStop)
    Implements
    System.IEquatable<TabStop>

    Properties

    Alignment

    Gets the alignment that is to be applied to text using this tab stop.

    • C#
    • VB.NET
    public readonly TabStopAlignment Alignment { get; }
    Public ReadOnly Property Alignment As TabStopAlignment
    Property Value
    TabStopAlignment

    The alignment that is to be applied to text using this tab stop.

    Position

    Gets the position of the tab stop relative to the left margin.

    • C#
    • VB.NET
    public readonly Length Position { get; }
    Public ReadOnly Property Position As Length
    Property Value
    Length

    The position of the tab stop relative to the left margin.

    Methods

    Equals(TabStop)

    Determines whether the other TabStop is equal to this TabStop instance.

    • C#
    • VB.NET
    public bool Equals(TabStop other)
    Public Function Equals(other As TabStop) As Boolean
    Parameters
    other
    TabStop

    The other tab stop to compare with this tab stop instance.

    Returns
    System.Boolean

    true if the other TabStop is equal to this TabStop instance; otherwise, false.

    Equals(Object)

    Determines whether the specified System.Object is equal to this TabStop instance.

    • C#
    • VB.NET
    public override bool Equals(object obj)
    Public Overrides Function Equals(obj As Object) As Boolean
    Parameters
    obj
    System.Object

    The System.Object to compare with this tab stop instance.

    Returns
    System.Boolean

    true if the specified System.Object is a TabStop and is equal to this TabStop instance; otherwise, false.

    Overrides
    System.ValueType.Equals(System.Object)

    GetHashCode()

    Returns a hash code for this TabStop instance.

    • C#
    • VB.NET
    public override int GetHashCode()
    Public Overrides Function GetHashCode As Integer
    Returns
    System.Int32

    An integer value that specifies a hash value for this TabStop instance.

    Overrides
    System.ValueType.GetHashCode()

    ToString()

    Returns a System.String that represents this TabStop instance.

    • C#
    • VB.NET
    public override string ToString()
    Public Overrides Function ToString As String
    Returns
    System.String

    A System.String that represents this TabStop instance.

    Overrides
    System.ValueType.ToString()
    Remarks

    This method should be used primarily for debugging purposes and should be considered volatile (format of its return value might change in future versions).

    Operators

    Equality(TabStop, TabStop)

    Determines whether first and second TabStops are equal.

    • C#
    • VB.NET
    public static bool operator ==(TabStop first, TabStop second)
    Public Shared Operator =(first As TabStop, second As TabStop) As Boolean
    Parameters
    first
    TabStop

    The first tab stop.

    second
    TabStop

    The second tab stop.

    Returns
    System.Boolean

    true if first and second tab stops are equal; otherwise, false.

    Inequality(TabStop, TabStop)

    Determines whether first and second TabStops are not equal.

    • C#
    • VB.NET
    public static bool operator !=(TabStop first, TabStop second)
    Public Shared Operator <>(first As TabStop, second As TabStop) As Boolean
    Parameters
    first
    TabStop

    The first tab stop.

    second
    TabStop

    The second tab stop.

    Returns
    System.Boolean

    true if first and second tab stops are not equal; otherwise, false.

    Implements

    System.IEquatable<T>
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.