CopyPasteOptions.TabInsertOptions Property
Gets or sets how to set tab stops in the inserted paragraph.
Namespace: DevExpress.XtraRichEdit
Assembly: DevExpress.RichEdit.v24.2.Core.dll
NuGet Package: DevExpress.RichEdit.Core
#Declaration
[Browsable(false)]
[DefaultValue(InsertOptions.KeepSourceFormatting)]
public InsertOptions TabInsertOptions { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Insert |
Keep |
An Insert |
Available values:
Name | Description |
---|---|
Keep |
Retains character styles and direct formatting (font size, emphasis, etc.) applied to the inserted text. |
Match |
Retains direct formatting (font size, emphasis, etc.) applied to the inserted text, but ignores all style properties. |
Use |
Retains styles associated with the target document when style definition conflicts occur. |
Keep |
Removes all formatting and non-text elements (pictures, shapes, comments, etc.). |
Merge |
Changes the formatting so that it matches the text that surrounds the inserted content. |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Tab |
---|---|
Rich |
|
#Remarks
Note
We recommend that you use the Copy
Use the TabInsertOptions property to specify whether the inserted paragraph should retain its tab arrangement (accessible with the Paragraph.BeginUpdateTabs method) or apply the tab arrangement of the paragraph to which it is copied.