saving bullets to html with spcecial imagename

General TRichView support forum. Please post your questions here
Post Reply
dport
Posts: 1
Joined: Wed Dec 13, 2023 12:32 pm

saving bullets to html with spcecial imagename

Post by dport »

When saving bullets to an html file, is it possible to save them under a name we want instead of in order? For example, if we give the file name to the first parameter (aname) when adding a bullet, can we have it save with that file name when saving?
For example

rv.AddBullet ('xx.jpg',1,ImageList1,rvsnormal);

Can we make the bullet I added appear as <img src=xx.jpg> in the html output?
Sergey Tkachenko
Site Admin
Posts: 17602
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: saving bullets to html with spcecial imagename

Post by Sergey Tkachenko »

It must be the default behavior: for all bullet items with the same ImageList and ImageIndex, a single image file is saved.
It may be different only if bullets are displayed on different background color (because if bullets are saved as non-transparent images, a background color is drawn in images)

If you want to modify image saving, use OnHTMLSaveImage event.
Post Reply