Click or drag to resize
VerticalPosition Structure
Represents a vertical positioning which can be expressed with VerticalPositionType enumeration or Double value.

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

The VerticalPosition type exposes the following members.

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