Struct CharacterRange
Specifies a range of character positions within a string.
Inherited Members
Namespace: DRIT.Drawing.Text
Assembly: DRIT.Drawing.dll
Syntax
public struct CharacterRange
Constructors
CharacterRange(int, int)
Initializes a new CharacterRange with the specified first character and length.
Declaration
public CharacterRange(int first, int length)
Parameters
| Type | Name | Description |
|---|---|---|
| int | first | The zero-based position of the first character. |
| int | length | The number of characters in the range. |
Properties
First
Gets or sets the zero-based position of the first character in the range.
Declaration
public int First { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Length
Gets or sets the number of characters in the range.
Declaration
public int Length { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| int |