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
Mike, works perfect.
Thanks again for your help!
Hi JL,
I think the method you are looking for is:
Infragistics.Win.FormattedLinkLabel.FormattedLinkEditor.EncodeImage(image)