Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
Noufal123  
#1 Posted : Thursday, August 19, 2010 8:16:39 PM(UTC)
Noufal123

Rank: Advanced Member

Groups: Member
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 ?

Dmitry.Obukhov  
#2 Posted : Sunday, August 22, 2010 6:06:35 PM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Member
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.
File Attachment(s):
ScaledImageSample.zip (2,150kb) downloaded 6 time(s).
Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
Noufal123  
#3 Posted : Monday, August 23, 2010 3:11:59 PM(UTC)
Noufal123

Rank: Advanced Member

Groups: Member
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

Dmitry.Obukhov  
#4 Posted : Monday, August 23, 2010 7:48:15 PM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Member
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.
File Attachment(s):
newScaledImageSample.zip (2,154kb) downloaded 2 time(s).
Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
Noufal123  
#5 Posted : Sunday, August 29, 2010 4:50:13 PM(UTC)
Noufal123

Rank: Advanced Member

Groups: Member
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

Dmitry.Obukhov  
#6 Posted : Sunday, August 29, 2010 10:01:02 PM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Member
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.
File Attachment(s):
ScaledImageSample3.zip (2,308kb) downloaded 4 time(s).
Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
Noufal123  
#7 Posted : Thursday, September 2, 2010 8:38:04 PM(UTC)
Noufal123

Rank: Advanced Member

Groups: Member
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 .
Dmitry.Obukhov  
#8 Posted : Sunday, September 5, 2010 8:01:10 PM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Member
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.
Users browsing this topic
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.