Rank: Member
Groups: Guest
Joined: 2/26/2007(UTC) Posts: 8
|
Is it possible to move vobjects by setting some properties? If it gets out of working area, there is no way to get it back to the working area so... |
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 1/31/2005(UTC) Posts: 458
Was thanked: 5 time(s) in 5 post(s)
|
Hello Ichiro Size and position of the VObject is determined by its bounds and transformation matrix. In your case you could change VObject.Transform property to shift object into visible area. Here is a simple code snippet which just illustrates how to do it (this code moves currently selected object 30 pixels right and 40 pixels down): Code:If (_multiLayerViewer.CurrentDesigner.VObjects.Length > 0) Then
Dim a As Aurigma.GraphicsMill.WinControls.IVObject = _multiLayerViewer.CurrentDesigner.VObjects(0)
a.Transform.Translate(30, 40)
a.Update()
End If
|
|
|
|
|
Rank: Member
Groups: Guest
Joined: 2/26/2007(UTC) Posts: 8
|
Thank you very much, Alex. I am very new to VB and Graphics Mill, I should have read the manual thoroughly... Sorry for the trouble and thanks again. |
|
|
|
|
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.