The C1TextLine type exposes the following members.

Constructors

  NameDescription
C1TextLine

Methods

  NameDescription
AddRange
Creates and adds new C1TextLineRange object.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetIndex
Returns index of line.
GetType
Gets the Type of the current instance.
(Inherited from Object.)
IsFirst
Returns the true value if line is a first line in Lines list.
IsLast
Returns the true if line is a last line in Lines list.
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Fields

  NameDescription
Center
Gets or sets the coordinates of the geometrical center of line.
Size
Gets or sets the size of line in pixels.

Properties

  NameDescription
Ascent
Gets or sets ascent of line.
CreatedFromCrlf
If true then line is created when CR or LF character is found.
From
Gets the index of first character of line in C1Text.Text property.
FullLength
Gets the full length of line in characters, including trailing CRLF chars.
IsEndOfParagraph
Returns the true if line is end of paragraph.
IsFixedFont
Indicates whether all ranges within line use a FIXED font (like Courier New for example).
Item
Returns the C1TextLineRange object by its index, first object has 0 index.
Length
Returns the LengthWithSpaces if C1Text.MeasureTrailingSpaces = true or C1Text.AutoWidth and LengthNoSpaces otherwise.
LengthNoSpaces
Number of characters in line without trailing spaces.
LengthWithSpaces
Number of characters in line with trailing spaces, but without CR LF characters.
Lines
Gets the C1TextLines object containing this line.
Owner
Gets the C1Text object containing this object.
RotatedHeight
Specifies the "rotated" height of line, this property equals to Size.Height / cos(TextAngle) or Size.Height / sin.TextAngle. Depending on lines direction (by vertically or by horizontally).
SpacingHeight
Gets the height of line in pixels with spacing after it. Spacing is defined by C1Text.LinesSpacing parameter.
SpacingRotatedHeight
Gets the rotated height of line in pixels with spacing after it. Spacing is defined by C1Text.LinesSpacing parameter.
Text
Returns the text of line.

See Also