Table of Contents

Struct TopPosition

Namespace
MigraDoc.DocumentObjectModel.Shapes
Assembly
MigraDoc.DocumentObjectModel.dll

Represents the top position in a shape.

public struct TopPosition

Properties

Position

Gets the value of the position in unit.

ShapePosition

Gets the value of the position.

Methods

Parse(string)

Parses the specified value.

Operators

implicit operator TopPosition(ShapePosition)

Converts a ShapePosition to a TopPosition.

implicit operator TopPosition(Unit)

Converts a Unit to a TopPosition.

implicit operator TopPosition(double)

Converts a double to a TopPosition. The double is interpreted as a Unit in Point.

implicit operator TopPosition(int)

Converts an integer to a TopPosition. The integer is interpreted as a Unit in Point.

implicit operator TopPosition(string)

Converts a string to a TopPosition. The string is interpreted as a Unit.