IColumnGuideCollection Interface
Provides the base requirements for a collection of IColumnGuide instances to be displayed within an ITextView.
public interface IColumnGuideCollection
Methods
Add(ColumnGuidePlacement, double, LineKind, float, Color?)
Creates and adds a new instance of IColumnGuide.
IColumnGuide Add(ColumnGuidePlacement placement, double placementValue, LineKind lineKind, float thickness, Color? color)
Parameter | Type | Description |
---|---|---|
placement | ColumnGuidePlacement | Indicates how the column guide will be placed within its parent ITextView. |
placementValue | double | The column number when |
lineKind | LineKind | The kind of line to use. |
thickness | float | The thickness of the line. |
color | Color? | The color of the line or |
Returns
- IColumnGuide:
The IColumnGuide that was created.
Add(int)
Creates and adds a new instance of IColumnGuide for a solid line guide to be placed at a specific column index.
IColumnGuide Add(int column)
Parameter | Type | Description |
---|---|---|
column | int | The column where the guide will be placed. |
Returns
- IColumnGuide:
The IColumnGuide that was created.
Add(int, LineKind)
Creates and adds a new instance of IColumnGuide for a guide to be placed at a specific column index.
IColumnGuide Add(int column, LineKind lineKind)
Parameter | Type | Description |
---|---|---|
column | int | The column where the guide will be placed. |
lineKind | LineKind | The kind of line to use. |
Returns
- IColumnGuide:
The IColumnGuide that was created.