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

 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

 
 
The HTMLPicture property handles a collection of custom size picture being displayed in the HTML captions, using the <img> tags. By default, the HTMLPicture collection is empty. Use the HTMLPicture property to add new pictures to be used in HTML captions. For instance, the HTMLPicture("pic1") = "c:\winnt\zapotec.bmp", loads the zapotec picture and associates the pic1 key to it. Any "<img>pic1</img>" sequence in HTML captions, displays the pic1 picture. On return, the HTMLPicture property retrieves a Picture object ( this implements the IPictureDisp interface ).

Use the ToolBarFormat property to add new buttons, icons , pictures or any HTML caption to the eXPrint's toolbar. The ItemCaption property specifies the button's caption that may include icons, pictures if the <img> HTML built-in element is included. The Caption property specifies the name of the document, and may display icons or pictures as well, if <img> HTML tag is included. The ExtraCaption property adds custom captions to each page, and may display icons or pictures as well, if <img> HTML tag is included.


Send comments on this topic.
1999-2017 Exontrol.COM, Software. All rights reserved.