Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1375
FormattedLinkLabel image stored as XML
posted

When adding an image to a FormattedLinkLabel in the designer, there is a checkbox that allows storing the image as ascii data in the XML. This enables not having to load an image from disc at runtime.

I'd like to be able to populate this data in code. I have collections that I use to hold images while my app runs and I just retrieve them as needed. Is it possible to get the method that is being used in the designer to convert the image to ascii? That way I can maintain my image collections and then build up the data in the FormattedLinkLabel, including images, as needed.

Doesn't hurt to ask!

Thanks,

JL