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
635
LeftImages of varying widths
posted

Is it at all possible to have say the first left image be of size 16x16 and the second one be 8x16 (same height, different width)? Thanks.

Parents
  • 69832
    Verified Answer
    Offline posted

    Not using the public object model. There are some ways to hack this out that come to mind...you could create a 24 x 16 image, and use GDI+ to blit the two images to that new one, and add the resulting image to LeftImages. You could also use the IUIElementCreationFilter interface to add two ImageUIElements, one for each image, in place of one that would appear if you added a dummy 24 x 16 image to the LeftImages collection.

Reply Children
No Data