Back to Devexpress

AutoCorrectInfo.DecrementStartPosition() Method

officefileapi-devexpress-dot-xtrarichedit-dot-autocorrectinfo-ece0af92.md

latest1.6 KB
Original Source

AutoCorrectInfo.DecrementStartPosition() Method

Extends a text range being analyzed by moving its start by one position.

Namespace : DevExpress.XtraRichEdit

Assembly : DevExpress.RichEdit.v25.2.Core.dll

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
public virtual bool DecrementStartPosition()
vb
Public Overridable Function DecrementStartPosition As Boolean

Returns

TypeDescription
Boolean

true if the text range has been changed; otherwise, false.

|

Remarks

You can combine several incrementing and decrementing methods to resize and move the text frame in the document.

If a document start is reached, the position can not be decremented and remains the same. The method returns false. You can also use the AutoCorrectInfo.CanDecrementStart method to check for this situation.

See Also

CanDecrementStart

AutoCorrectInfo Class

AutoCorrectInfo Members

DevExpress.XtraRichEdit Namespace