unrecognize#7833
Hi, Currently I want to get the path of ImageVObject from Multilayerviewer. Below is the code that I try to do for get the path when i click on multilayerviewer's object. I am using PathVObject to get the path, but when I click on a ImageVObject, the PathVObject cannot be used, any Idea on that?
Thanks in advanced.
Private Sub MultiLayerViewer1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MultiLayerViewer1.Click
If MultiLayerViewer1.CurrentDesigner Is MultiLayerViewer1.DefaultDesigner Then Exit Sub
Dim vIndex As Aurigma.GraphicsMill.WinControls.VObject
vIndex = MultiLayerViewer1.CurrentDesigner.VObjects(0)
'Get the currently selected object
Dim vobject As Aurigma.GraphicsMill.WinControls.IControlPointsProvider = CType(vIndex, _
Aurigma.GraphicsMill.WinControls.IControlPointsProvider)
'Get path
Dim vPath As Aurigma.GraphicsMill.WinControls.PathVObject = CType(vIndex, Aurigma.GraphicsMill.WinControls.PathVObject)
End SubThanks in advanced.