Version

ToolbarImage Class

Represents a non-interactive image on the toolbar.
Syntax
'Declaration
 
Public Class ToolbarImage 
   Inherits BaseToolbarItem
public class ToolbarImage : BaseToolbarItem 
Remarks

Create a custom ToolbarImage to insert your own image onto the toolbar or use a predefined ToolbarImage type to apply formatting to your toolbar such as item seperators and row seperators.

A ToolbarImage can be created and used one of two ways:

  • Calling WebHtmlEditor.AddToolbarItem, passing in a ToolbarItemType associated with ToolbarImage (such as ToolbarItemType.Seperator) creates the ToolbarImage, initializing it with default values for the "seperator" type, and adds it to the Toolbar in one step.
  • Create a new ToolbarImage, passing in a ToolbarImageType (such as ToolbarImageType.Seperator). This will create and initialize the ToolbarImage with default values for the "seperator" type. Add the ToolbarImage using the ToolbarItemCollection.Add method (WebHtmlEditor.Toolbar.Items.Add).
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also