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

    Show / Hide Table of Contents

    TablePositioning Class

    Namespace:
    GemBox.Document.Tables
    Assembly:
    GemBox.Document.dll

    Represents floating table positioning settings.

    • C#
    • VB.NET
    public sealed class TablePositioning
    Public NotInheritable Class TablePositioning
    Inheritance:
    System.Object
    TablePositioning

    Properties

    DistanceFromSurroundingText

    Gets or sets the minimum distance which shall be maintained between the current floating table and the text in the paragraph which is surrounding this floating table.

    • C#
    • VB.NET
    public Padding DistanceFromSurroundingText { get; set; }
    Public Property DistanceFromSurroundingText As Padding
    Property Value
    Padding

    The minimum distance which shall be maintained between the current floating table and the text in the paragraph which is surrounding this floating table.

    HorizontalPosition

    Gets or sets the table horizontal position.

    • C#
    • VB.NET
    public HorizontalPosition HorizontalPosition { get; set; }
    Public Property HorizontalPosition As HorizontalPosition
    Property Value
    HorizontalPosition

    The table horizontal position.

    Remarks

    Supported positions are relative to Margin, Page or Column.

    VerticalPosition

    Gets or sets the table vertical position.

    • C#
    • VB.NET
    public VerticalPosition VerticalPosition { get; set; }
    Public Property VerticalPosition As VerticalPosition
    Property Value
    VerticalPosition

    The table vertical position.

    Remarks

    Supported positions are relative to Page, Margin or Paragraph.

    Methods

    ClearPositioning()

    Clears floating table positioning settings.

    • C#
    • VB.NET
    public void ClearPositioning()
    Public Sub ClearPositioning

    Equals(Object)

    Determines whether the specified System.Object is equal to this TablePositioning 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 table positioning instance.

    Returns
    System.Boolean

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

    Overrides
    System.Object.Equals(System.Object)

    GetHashCode()

    Returns a hash code for this TablePositioning 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 TablePositioning instance.

    Overrides
    System.Object.GetHashCode()

    Operators

    Equality(TablePositioning, TablePositioning)

    Determines whether first and second TablePositionings are equal.

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

    The first table positioning.

    second
    TablePositioning

    The second table positioning.

    Returns
    System.Boolean

    true if first and second table positionings are equal; otherwise, false.

    Inequality(TablePositioning, TablePositioning)

    Determines whether first and second TablePositionings are not equal.

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

    The first table positioning.

    second
    TablePositioning

    The second table positioning.

    Returns
    System.Boolean

    true if first and second table positionings are not equal; otherwise, false.

    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.