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



Go to last post Go to first unread
#1 Posted : Sunday, August 26, 2007 7:43:44 AM(UTC)

Rank: Member

Groups: Member
Joined: 8/25/2007(UTC)
Posts: 7

I am new to Aurigma and not sure how to implement the following 2 requirements. Perhaps someone can point me in the right direction.

1) Provide a real time thumbnail of the contents of the current MultiLayerViewer

2) Provide thumbnails of ".dat" files

Alex Kon  
#2 Posted : Sunday, August 26, 2007 5:28:28 PM(UTC)
Alex Kon

Rank: Advanced Member

Groups: Member
Joined: 1/31/2005(UTC)
Posts: 458

Was thanked: 5 time(s) in 5 post(s)

You can use MultiLayerViewer.RenderWorkspace(...) method with some small resolution value (for example, 10 dpi) to get small image of the workspace. After that it may be necessary to blend this image with some background one, because rendered workspace image can contain transparent areas, which are not acceptable for thumbnails.

As for your second question - you should load this images into viewer and perform the steps which are described before. *.dat files are just collection of serialized V-Objects, so there is no way to get content of the .dat file drawn without deserialization and reconstruction of the contained V-Objects.

Edited by user Tuesday, January 1, 2008 4:35:09 AM(UTC)  | Reason: Not specified

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.