Hello!
I want to make following function:
With a button_click to load a picture, which should has a embeded label at the bottom left of the picture. And then this "new" picture (picture + label) should be saved in a file.
I made the label easily over the image at bottom left. The Label should show the system date and time.
My code for loading the picture and change the value of label1 is:
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
label1->Text = Convert::ToString(System::DateTime::Now);
pictureBox1->Image = gcnew Bitmap( "H:\\picture1.jpg");
}
Now I have the picture with the datetime label in the window. And I want to save these two together as a new picture file.
How can I realize this?
I appreciate your answers!