Page 1 of 1

IWCGJQImage.Picture.UserCache

PostPosted: 17 Oct 2013 05:44
by rhazell43
Hello,

What is the purpose/impact of the IWCGJQImage.Picture.UserCache property?

Same goes for IWCGJQImage.Picture.CacheName, please?

Also, when I set IWCGJQImage.Picture.URL to 'images/header.png' should I see the image at design-time? It renders correctly at run-time.

Thanks, Rick.

Re: IWCGJQImage.Picture.UserCache

PostPosted: 17 Oct 2013 14:11
by Jorge Sousa
Hi Rick

What is the purpose/impact of the IWCGJQImage.Picture.UserCache property?


Both .UserCache and .CacheName properties, have only meaning if the Picture is directly set in Picture.Picture. If Picture.Url is specified, those props have no use.

When UserCache is False, the default value, the image is cached for the whole application, ie, it's created only one time, no matter the number of sessions.

If .CacheName is empty (default), a Cache name it's automatically created based on component names and ownership, if is set, then it's valued it's checked to know if it exists or not.

.UserCache = True, it creates an image for each session.

Best Regards