Re: Make a new graphics object have all the properties of the old graphics object
- From: " active" <activeNOSPAM@xxxxxxxxxx>
- Date: Wed, 18 Apr 2007 12:29:50 -0400
Thanks for your help.
The basic problem is:
I have an image that is basically the canvas that the user draws on.
He may also be making changes to the Graphics object that is used to draw on
the canvas.
Then he wants to make the canvas bigger and continue drawing.
I know how to create the bigger Image and draw the old picture on it and
create a new Graphics object from the new Image.
However, I don't know how to make the new Image and Graphic object reflect
changes in properties he may have made to the original items.
Guess I'll just copy the some of them
Thanks again
"Michael Phillips, Jr." <mphillips53@xxxxxxxxxxxxxxx> wrote in message
news:%23izecEcgHHA.3796@xxxxxxxxxxxxxxxxxxxxxxx
No. The memory allocated internally for a bitmap is predicated on its
width, height and PixelFormat. A slight change in just one property
creates a different bitmap.
" active" <activeNOSPAM@xxxxxxxxxx> wrote in message
news:eDUxNGVgHHA.1552@xxxxxxxxxxxxxxxxxxxxxxx
I'm sorry I asked wrong
Identical except for the size
thanks
"Michael Phillips, Jr." <mphillips53@xxxxxxxxxxxxxxx> wrote in message
news:eh0OlfUgHHA.3424@xxxxxxxxxxxxxxxxxxxxxxx
How about creating an image with the properties of another image?
is the possible?
Use the Clone method.
" active" <activeNOSPAM@xxxxxxxxxx> wrote in message
news:OEzpqiSgHHA.668@xxxxxxxxxxxxxxxxxxxxxxx
How about creating an image with the properties of another image?
is the possible?
Thanks for the info
"Michael Phillips, Jr." <mphillips53@xxxxxxxxxxxxxxx> wrote in message
news:u77yUMRgHHA.4596@xxxxxxxxxxxxxxxxxxxxxxx
I want the new graphics object have all the properties of the old
graphics object (like PageUnit and InterpolationMode...)
Can I do that without setting them all one at a time?
No. You can create a bitmap object using the graphics context of an
existing device. But it will only inherit the characteristics of that
device such as its resolution.
" active" <activeNOSPAM@xxxxxxxxxx> wrote in message
news:OU6eMFRgHHA.1980@xxxxxxxxxxxxxxxxxxxxxxx
I have an image and a graphics object created (FromImage) from that
image.
I need to create a new image and create a new graphics object from
the new image.
I want the new graphics object have all the properties of the old
graphics object (like PageUnit and InterpolationMode...)
Can I do that without setting them all one at a time?
Thanks
.
- References:
- Make a new graphics object have all the properties of the old graphics object
- From: active
- Re: Make a new graphics object have all the properties of the old graphics object
- From: Michael Phillips, Jr.
- Re: Make a new graphics object have all the properties of the old graphics object
- From: active
- Re: Make a new graphics object have all the properties of the old graphics object
- From: Michael Phillips, Jr.
- Re: Make a new graphics object have all the properties of the old graphics object
- From: active
- Re: Make a new graphics object have all the properties of the old graphics object
- From: Michael Phillips, Jr.
- Make a new graphics object have all the properties of the old graphics object
- Prev by Date: Threading Info
- Next by Date: Re: what happened to my form??? Bug???
- Previous by thread: Re: Make a new graphics object have all the properties of the old graphics object
- Next by thread: Windows Datagrid - Add Radiobutton Column
- Index(es):