C# Customize Content Import and Export in RichTextBox
KetticRichTextBox .NET component supports not only import and export the content of KetticRichTextBox, but customization of the import or export itself. This feature allows the users to customize the presentation of the same content of KetticRichTextBox in various document formats. To set the export and import, we can use the customization options included in the document format providers in the C# classes of KetticRichTextBox.
Customizing Import/Export of KetticRichTextBox
There are two document format providers available, the HtmlFormatProvider and the PdfFormatProvider. To customize the import and export, we should create an instance of the settings and assign the instance to the property of the format provider that will be applied. And then we are able to customize or retrieve the properties that we need. Settings of HtmlFormatProvider
To set the HTML documents import and export, we should use the settings in the HtmlFormatProvider. There are the HtmlExportSettings and the HtmlImportSettings available for the users to customize the HTML import and export using KetticRichTextBox.
HtmlExportSettings contains a few options for the users to customize the HTML format export by using the KetticRichTextBox, such as,
HtmlImportSettings contains two options for the users to customize the HTML format import by using the KetticRichTextBox, including,
Settings of PdfFormatProvider
To set the export to PDF documents, we shall apply the settings in the PdfFormatProvider. The PdfExportSettings included in the provider can be used to customize the PDF export. The following are the options of PdfExportSettings.
|
UI Controlsfor Windows Forms .NET WinForms UI Overview.NET WinForms UI Features.NET WinForms UI GuideC# WinForms UI DesignVB.NET WinForms UI DesignWinForms UI Controls WinForms Buttons UI Control WinForms Calendar UI ControlWinForms Carousel UI ControlWinForms Chart UI ControlWinForms Clock UI ControlCommandBar UI ControlWinForms Dock UI ControlDesktop Alert UI ControlDropDown List UI ControlWinForms Editor UI ControlForms and Dialogs UI ControlWinForms GridView UI ControlWinForms ListView UI ControlWinForms Menu UI ControlWinForms ComboBox UI ControlWinForms PageView UI ControlPanels and Labels UI ControlWinForms Panorama UI ControlWinForms PDFViewer UI ControlWinForms Property Grid UI ControlWinForms Ribbon UI ControlWinForms PivotGrid UI ControlWinForms RichTextBox UI ControlGet Started in C#RichTextBox - SettingsDocument ElementsContentsSectionParagraphSpanHyperlinkInline ImageTableBookmarksRichTextBox - FeaturesLayout ModesSelectionSearchPositionRead OnlyFormat APIImport & ExportImport & Export - SettingsHTML SupportSpell CheckKeyboard SupportWinForms Rotator UI ControlWinForms Scheduler UI ControlWinForms Shortcuts UI ControlWinForms SpellChecker UI ControlWinForms Track & Status UI ControlWinForms TreeView UI ControlWinForms Wizard UI ControlWinForms Test UI ControlWinForms Theme UI Control |