InlineImage of KetticDocument in RichTextBox in C#.NET
KetticRichTextBox control provides the inline element, InlineImage, for the users to insert and display images in the document. The InlineImage C# class can only be used in the context of a paragraph. This element is placed after the previous inline element until the end of the lines and will wrap the line as there is insufficient space. In this C# tutorial, we will work through the process of using the InlineImage element.
C# Add InlineImage Element to Document
The C# code snippet below demonstrates how to add an InlineImage element to document.
C# Add InlineImage Element through UI
KetticRichTextBox control allows the users to add InlineImage element using C# code via user interface of the control. To achieve this, we can follow the steps as below.
The C# code below shows how to add image to document via the UI.
|
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 |