SpiceLogic .NET Win HTML Editor Control
Online Documentation.

Skip Navigation Links.

Introduction to the factory shipped Toolbar Items

.Net Win Html Editor Control comes with a set of useful tool bar items.

These toolbar items will give you increased flexibility and will equip you with an easy to use environment. These toolbar items are publicly accessible ToolStripItem fields. You have options like accessing those items and modifying their properties.

Moreover you are free to add as many extra items as you want on these toolbars or you can rearrange the factory shipped toolbar items anyway you want. You also can hide the any of the items on the toolbars.

All factory shipped ToolStripItems are listed with their prototypes and associated public methods. The associated public methods can be accessed through HTML control's Operations Property. For example, let you have a htmlEditor1 instance and you want to invoke Copy method. Then you will need to write following piece of code.



htmlEditor1.Operations.Copy();

To use the Spell Checker Option use the following piece of code,

htmlEditor1.CheckSpelling();

So from the following chart have a look on the listing of factory shipped ToolStripItems.

Toolbar Item prototypes Associated public Methods
Usage: htmlEditor1.Operations.MethodName()
public ToolStripButton _factoryBtnNew public void ClearContents()
public ToolStripButton _factoryBtnOpen public void LoadExternalFile()
public void LoadExternalFile(string OpenFileDialogTitle)
public ToolStripButton _factoryBtnSave public void SaveBodyHtmlToFile()
public void SaveBodyHtmlToFile(string SaveFileDialogTitle)
public ToolStripComboBox _factoryCmbFontName public void ChangeFontName(string fontName)
public SLFontToolStripNumericUpDown _factoryNumericUpDownFontSize public void ChangeFontSize(int fontSize)
public ToolStripButton _factoryBtnCut public void Cut()
public ToolStripButton _factoryBtnCopy public void Copy()
public ToolStripButton _factoryBtnPaste public void Paste()
public ToolStripButton _factoryBtnPrint public void Print(bool ShowDialog)
public ToolStripButton _factoryBtnBold public void Bold()
public ToolStripButton _factoryBtnItalic public void Italic()
public ToolStripButton _factoryBtnUnderline public void Underline()
public ToolStripButton _factoryBtnHighlightColor public void ApplyFontHighlightColor()
public ToolStripButton _factoryBtnFontColor public void ApplyFontForeColor()
public void ApplyFontForeColor(Color fontForeColor)
public ToolStripButton _factoryBtnHyperLink public void HyperLink()
public ToolStripButton _factoryBtnImage public void insertImage()
public ToolStripButton _factoryBtnOrderedList public void InsertOrderedLis()
public ToolStripButton _factoryBtnUnorderedList public void InsertUnOrderedList()
public ToolStripButton _factoryBtnAlignLeft public void JustifyLeft()
public ToolStripButton _factoryBtnAlignCenter public void JustifyCenter()
public ToolStripButton _factoryBtnAlignRight public void JustifyRight()
public ToolStripButton _factoryBtnTable public void InsertTableDialog()
public ToolStripButton _factoryBtnOutdent public void Outdent()
public ToolStripButton _factoryBtnIndent public void Indent()
public ToolStripButton _factoryBtnBodyStyle public void SetBodyStyleWithDialog()
public ToolStripButton _factoryBtnHorizontalRule public void InsertHorizontalRule()
public ToolStripButton _factoryBtnRedo public void Redo()
public ToolStripButton _factoryBtnUndo public void Undo()
public ToolStripButton _factoryBtnSpellCheck public void CheckSpelling()
Usage: htmlEditor1.CheckSpelling()
public ToolStripButton _factoryBtnFormatReset public void FormatReset()
public ToolStripButton _factoryBtnStrikeThroughStrike public void StrikeThrough()
public ToolStripButton _factoryBtnSubscript public void Subscript()
public ToolStripButton _factoryBtnSuperScript public void Superscript()
public ToolStripButton _factoryBtnEditSource public bool EditSource{get;set;}
public ToolStripCombo _factoryCmbTitleInsert public bool TitleInsert(int headerNumber)

Learn about :