Click or drag to resize
HorizontalPosition Structure
Represents a horizontal positioning which can be expressed with HorizontalPositionType enumeration or Double value.

Namespace:  GemBox.Document
Assembly:  GemBox.Document (in GemBox.Document.dll) Version: 25.3.30.1255
Syntax
public struct HorizontalPosition : IEquatable<HorizontalPosition>

The HorizontalPosition type exposes the following members.

Constructors
  NameDescription
Public methodHorizontalPosition(HorizontalPositionType, HorizontalPositionAnchor)
Initializes a new instance of the HorizontalPosition struct with specified alignment.
Public methodHorizontalPosition(Double, LengthUnit, HorizontalPositionAnchor)
Initializes a new instance of the HorizontalPosition struct with specified absolute position.
Top
Properties
  NameDescription
Public propertyPositionType
Gets the horizontal position type which can either be absolute or relative.
Public propertyRelativeTo
Gets the base location of this horizontal position.
Public propertyValue
Gets the horizontal position absolute value in points if PositionType is Absolute, otherwise value is not applicable.
Top
Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified Object is equal to this HorizontalPosition instance.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(HorizontalPosition)
Determines whether the other HorizontalPosition is equal to this HorizontalPosition instance.
Public methodGetHashCode
Returns a hash code for this HorizontalPosition instance.
(Overrides ValueTypeGetHashCode.)
Public methodToString
Returns a String that represents this HorizontalPosition instance.
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Determines whether first and second HorizontalPositions are equal.
Public operatorStatic memberInequality
Determines whether first and second HorizontalPositions are not equal.
Top
See Also