Rank: Member
Groups: Guest
Joined: 11/15/2006(UTC) Posts: 2
|
I'm needing to be able to set different size rectangle selections based on the size of the picture that I need to print. ex: 4x6, 5,7, 8x10, etc.
Is there a way to get this desired behavior?
I can't seem to find a way to perserve that type of ratio, only a square.
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 8/3/2003(UTC) Posts: 1,070
Thanks: 1 times Was thanked: 12 time(s) in 12 post(s)
|
Hello, To obtain the desired behaviour you should specify initialize RectangleRubberband.Rectangle property: Code:private void Form1_Load(object sender, System.EventArgs e)
{
_bitmapViewer.Bitmap.Load(@"d:/images/test/nikon-e950.jpg");
_rectangleRubberband.Rectangle = new System.Drawing.Rectangle(0, 0, 400, 300);
_rectangleRubberband.ResizeMode = Aurigma.GraphicsMill.WinControls.ResizeMode.Proportional;
}
Edited by user Tuesday, December 18, 2007 8:13:09 PM(UTC)
| Reason: Not specified |
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.