[]
        
(Showing Draft Content)

C1.WPF.RichTextBox.EditExtensions

EditExtensions Class

Provides extensions methods for editing a C1Document.

Inheritance
EditExtensions
Namespace: C1.WPF.RichTextBox
Assembly: C1.WPF.RichTextBox.4.6.2.dll
Syntax
public static class EditExtensions

Methods

Name Description
CanDeleteCells(C1TextRange)

Returns whether cells can be deleted from a range.

CanInsertColumnsOrRows(C1TextRange)

Returns whether table columns and rows can be inserted in a range.

CanMergeCells(C1TextRange)

Returns whether the cells contained in a range can be merged.

CanUnmergeCell(C1TextRange)

Returns whether a cell can be unmerged.

CellRange(C1TextRange)

Returns the widest caret range of the first cell in a range.

ColumnRange(C1TextRange)

Returns a range containing all the columns included in a parameter range.

ConvertTextToTable(C1TextRange)

Converts a range of text to a table.

Delete(C1TextRange, bool, bool)

Deletes elements and content in a range.

DeleteCells(C1TextRange)

Deletes cells contained in a range.

DeleteColumns(C1TextRange)

Deletes columns contained in a range.

DeleteRows(C1TextRange)

Deletes rows contained in a range.

DeleteTable(C1TextRange)

Deletes a table.

GetVisibleBorders(C1TextRange)

Returns the borders of a range inside a table that are visible.

InsertColumnsLeft(C1TextRange)

Inserts table columns to the left.

InsertColumnsRight(C1TextRange)

Inserts table columns to the right.

InsertHardLineBreak(C1TextPointer)

Inserts a hard line break in the position.

InsertInline(C1TextPointer, C1Inline)

Inserts an inline element in a text position.

InsertRowsAbove(C1TextRange)

Inserts table rows above.

InsertRowsBelow(C1TextRange)

Inserts table rows below.

InsertSoftLineBreak(C1TextPointer)

Inserts a soft line break in the position.

InsertTable(C1TextPointer, int, int)

Inserts a table in a document.

InsertText(C1TextPointer, string)

Inserts text in a document keeping the styles of previous runs in the same block.

Makes a text range into a hyperlink.

MakeList(C1TextRange)

Makes a list from the blocks in a range.

MakeList(C1TextRange, TextMarkerStyle)

Makes a list with the specified style from the blocks in a range.

MergeCells(C1TextRange)

Merges the cells contained in the parameter range.

Removes all hyperlinks in a text range.

ReplaceText(C1TextRange, string)

Replaces a range with text.

ReplaceText(C1TextRange, string, C1Run)

Replaces a range with text.

RowRange(C1TextRange)

Returns a range containing all the rows included in a parameter range.

SetBorders(C1TextRange, C1BorderFlags, Brush, double)

Configures the borders of the table cells in a range.

TableRange(C1TextRange)

Returns a range containing the table included in a parameter range.

UndoList(C1TextRange)

Converts all the items of a list in a range to paragraphs.

UnmergeCell(C1TextRange)

Unmerge a cell.