Rank: Advanced Member
Groups: Guest
Joined: 3/29/2010(UTC) Posts: 81
Thanks: 10 times
|
Hi......... I am doing project in c#(win application) with aurigma graphicmills.. In this, add image to Multilayerbitmapviewer as object directly with out resize the image.But the image size is big, and the image sides are outside multilayerworkspace..1) can i able to add image with in the workspace with out resize image and multilayerviewer workspace ?
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 5/29/2010(UTC) Posts: 1,310
Thanks: 8 times Was thanked: 111 time(s) in 111 post(s)
|
Hello, Sure, you are able to add image, which could be scaled before adding in the workspace. To implement this functionality I used Scale property of Transform class. I created simple application, which allows doing it. I attached it for your reference. Please download and try it out. If you have any additional questions about this sample, please feel free to let me know. |
Best regards, Dmitry Obukhov
Technical Support. Aurigma, Inc.
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 3/29/2010(UTC) Posts: 81
Thanks: 10 times
|
Hi.. Can i able to set image in multilayerviewer with multilayer workspace width and height..? actually, i wana adjust image width and height, and fit in multilayer workspace...pls help me quick.. Edited by user Monday, August 23, 2010 3:23:18 PM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 5/29/2010(UTC) Posts: 1,310
Thanks: 8 times Was thanked: 111 time(s) in 111 post(s)
|
Hello Noufal, I attached new sample application for your reference. It allows adding images of any sizes, which will become workspace size. Please download and try it out. Let me know, if you have any additional questions or problems. |
Best regards, Dmitry Obukhov
Technical Support. Aurigma, Inc.
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 3/29/2010(UTC) Posts: 81
Thanks: 10 times
|
Hi... I have merged the same thing in my project ,but its not fit multilayer viewer correctly... Edited by user Sunday, August 29, 2010 4:52:37 PM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 5/29/2010(UTC) Posts: 1,310
Thanks: 8 times Was thanked: 111 time(s) in 111 post(s)
|
Hello, I recreated sample. Now the image has width and height of workspace. Please try it out and let me know whether it is fit for you. |
Best regards, Dmitry Obukhov
Technical Support. Aurigma, Inc.
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 3/29/2010(UTC) Posts: 81
Thanks: 10 times
|
Hello.. I am adding one object in each layer(ie, when the object add , create a new layer and add the object). I wana to change the layer name same as the object name .
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 5/29/2010(UTC) Posts: 1,310
Thanks: 8 times Was thanked: 111 time(s) in 111 post(s)
|
Hello, You are able to set layer name the same as object name. Please see this sample line sample: Code:
multiLayerViewer1.Layers[0].Name = rectangle.Name.ToString();
Let me know if you have any additional questions. |
Best regards, Dmitry Obukhov
Technical Support. Aurigma, Inc.
|
|
|
|
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.