Click or drag to resize

HorizontalPosition Structure

Represents a horizontal positioning.
Inheritance Hierarchy
SystemObject
  SystemValueType
    SautinSoft.DocumentHorizontalPosition

Namespace: SautinSoft.Document
Assembly: SautinSoft.Document (in SautinSoft.Document.dll) Version: 2024.7.18
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(HorizontalPosition) Determines whether the otherHorizontalPosition is equal to this HorizontalPosition instance.
Public methodEquals(Object) Determines whether the specified Object is equal to this HorizontalPosition instance.
(Overrides ValueTypeEquals(Object))
Public methodGetHashCode Returns a hash code for this HorizontalPosition instance.
(Overrides ValueTypeGetHashCode)
Top
Operators
 NameDescription
Public operatorStatic memberEquality(HorizontalPosition, HorizontalPosition) Determines whether first and second HorizontalPositions are equal.
Public operatorStatic memberInequality(HorizontalPosition, HorizontalPosition) Determines whether first and second HorizontalPositions are not equal.
Top
See Also