Class ExportSettings
Represents the customization settings for exporting document.
Inheritance
System.Object
    ExportSettings
  Namespace: Syncfusion.Windows.Controls.RichTextBoxAdv
Assembly: Syncfusion.SfRichTextBoxAdv.WPF.dll
Syntax
public class ExportSettings : DependencyObjectConstructors
ExportSettings()
Declaration
public ExportSettings()Fields
OptimizeRtfFileSizeProperty
Identifies the OptimizeRtfFileSize dependency property.
Declaration
public static readonly DependencyProperty OptimizeRtfFileSizePropertyField Value
| Type | Description | 
|---|---|
| System.Windows.DependencyProperty | The identifier for the OptimizeRtfFileSize dependency property. | 
Properties
OptimizeRtfFileSize
Gets or sets a value indicating whether to reduce the resultant RTF file size by removing the tags with default values. The default value is false.
Declaration
public bool OptimizeRtfFileSize { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Boolean | true to reduce the resultant RTF file size, like WordPad application, RichTextBox control; otherwise, false | 
Examples
The following code example demonstrates how to set the OptimizeRtfFileSize property.
<!-- Sets the OptimizeRtfFileSize. --> 
<RichTextBoxAdv:SfRichTextBoxAdv.ExportSettings>
<RichTextBoxAdv:ExportSettings OptimizeRtfFileSize="True"/>
</RichTextBoxAdv:SfRichTextBoxAdv.ExportSettings>//  Sets the OptimizeRtfFileSize.
SfRichTextBoxAdv richTextBoxAdv = new SfRichTextBoxAdv();
richTextBoxAdv.ExportSettings.OptimizeRtfFileSize = true;' Sets the OptimizeRtfFileSize.
Dim richTextBoxAdv As New SfRichTextBoxAdv()
richTextBoxAdv.ExportSettings.OptimizeRtfFileSize = TrueEvents
UIContainerExporting
Declaration
public event ExportSettings.UIContainerExportingEventHandler UIContainerExportingEvent Type
| Type | 
|---|
| ExportSettings.UIContainerExportingEventHandler |