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



Go to last post Go to first unread
#1 Posted : Friday, July 29, 2011 12:04:11 PM(UTC)

Rank: Advanced Member

Groups: Member
Joined: 9/10/2010(UTC)
Posts: 57

Thanks: 1 times
Multilayerviewer control has two methods:

public Bitmap RenderWorkspace();
public Bitmap RenderWorkspace(float renderingResolution);

Here are some questions:

1. Is there any default resolution when public Bitmap RenderWorkspace() is called.
2. Does the coordinate system on the bitmap image generated by calling
RenderWorkspace()match the coordinate system presented on multilayerviewer?

e.g in the attached sample bitmap genereated by calling RenderWorkspace(), there are two images: image 1 and image 2. If we crop them out using following parameter:

RectangleF rf = this.GetVObjectBounds();
float x = this.Transform.OffsetX;
float y = this.Transform.OffsetY;
float w = rf.Width;
float h = rf.Height;

Then generate the image by calling RenderWorkspace();

Then can we put the image back as exactly the same on the multilayerviewer by using other Aurigma graphic proceesing tools and above x, y, w, h parameters?

mzhao attached the following image(s):
#2 Posted : Monday, August 1, 2011 1:00:09 AM(UTC)

Rank: Advanced Member

Groups: Administration
Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
Hello Ming,

1. Default resolution value of getting bitmap after rendering is 96.
2. Yes, the coordinate system of bitmap matches to the coordinate system of multilayer viewer.
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.