I am able to show image using Draw Image() but on all Microsoft sites they have resize rectangle.Because of this i am able to show only upper part of image. I want to show full image without changing its height or width.This is all i tried but not working.Only upper part of image getting showed:
picture = Image::From File("image 9.jpeg");
e->Graphics->Draw Image(picture,0,0); //showing only upper part of image
I tried even this:
e->Graphics->Draw Image( new Image, x, y, width, height );
I also tried using drawing rectagle:
R d = R(100,25,450,150);
R s = R(30,30,150,150);*/
Graphics `enter code here`Unit units = Graphics Unit::Pixel;
e->Graphics->DrawImage(picture, d, s, units);
But i want to show full image and not only upper part of image?
What I have tried:
I tried even this:
e->Graphics->Draw Image( new Image, x, y, width, height );
I also tried using drawing rectagle:
R d = R(100,25,450,150);
R s = R(30,30,150,150);*/
Graphics `enter code here`Unit units = Graphics Unit::Pixel;
e->Graphics->DrawImage(picture, d, s, units);
I am calling this from my toolTip Draw_event handler using which i want to set image background to my toolTip control on button.
But i want to show full image and not only upper part of image?