property HTML.ToolBarHTMLPicture(Key as String) as Variant
Adds or replaces a picture in HTML captions (toolbar).

TypeDescription
Key as String A String expression that indicates the key of the picture being added or replaced. If the Key property is Empty string, the entire collection of pictures is cleared.
Variant The HTMLPicture specifies the picture being associated to a key. It can be one of the followings:
  • a string expression that indicates the path to the picture file, being loaded.
  • a string expression that indicates the base64 encoded string that holds a picture object, Use the eximages tool to save your picture as base64 encoded format.
  • A Picture object that indicates the picture being added or replaced. ( A Picture object implements IPicture interface ),

If empty, the picture being associated to a key is removed. If the key already exists the new picture is replaced. If the key is not empty, and it doesn't not exist a new picture is added

By default, the toolbar has no custom-sized pictures. The ToolBarHTMLPicture property handles a collection of custom size picture being displayed in the HTML captions of the control's toolbar. You can use the <img> HTML tag to display a custom-size pictures in the control's toolbar through the ToolBarItems property of the control. The ToolBarHTMLPicture property adds/removes custom-size pictures to be shown on the control's tollbar. The ToolBarImages / ToolBarReplaceIcon methods defines the icons to be displayed on the control's toolbar. The ToolBarBorderSize property specifies the size of the border of the control's toolbar. The TollBarSize specifies the size / visibility of the control's toolbar. The ToolBarEvent event notifies your application that the user selects, edits, checks or un-checks an item in the control's toolbar.  The ToolBarAnchor property gets or sets the edge of the control to which the toolbar is bound and determines how the toolbar is resized with its control.  The ToolBarItems property defines the control's toolbar format.