[]
        
(Showing Draft Content)

C1.WPF.RichTextBox.Documents.C1Length

C1Length Struct

Represents a length value used in C1TextElement.

Namespace: C1.WPF.RichTextBox.Documents
Assembly: C1.WPF.RichTextBox.dll
Syntax
[TypeConverter(typeof(C1LengthConverter))]
public struct C1Length

Constructors

Name Description
C1Length(double)

Initializes a new C1Length with a pixel length.

C1Length(double, C1LengthUnitType)

Initializes a new C1Length.

Fields

Name Description
Auto

Gets an instance of C1Length that represents automatic length.

Properties

Name Description
IsAbsolute

Gets whether this length is an absolute value, that is, it is expressed in pixels.

IsAuto

Gets whether this length is auto.

IsPercent

Gets whether this length is a percent.

UnitType

Gets the unit type of this length.

Value

Gets the value of this length.

Methods

Name Description
Equals(object)
GetHashCode()
Max(C1Length, C1Length)

Returns the larger of two C1Length instances.

Min(C1Length, C1Length)

Returns the smaller of two C1Length instances.

ToString()

Operators

Name Description
operator ==(C1Length, C1Length)
operator !=(C1Length, C1Length)