Hi:
Thanks, but I still did not get it to work. I did look at DirTree, but did not see the Shape.FromID info.
Here is what I get from the Shape Designer: ' VB.NET ShapeTemplate definition new Shape( _ new ElementTemplate() _ { _ new LineTemplate(0, 0, 72, 0), _ new LineTemplate(72, 0, 100, 50), _ new LineTemplate(100, 50, 70, 100), _ new LineTemplate(70, 100, 0, 100), _ new LineTemplate(0, 100, 0, 0) _ }, _ new ElementTemplate() _ { _ }, _ new ElementTemplate() _ { _ new LineTemplate(5, 5, 67, 5), _ new LineTemplate(67, 5, 95, 50), _ new LineTemplate(95, 50, 65, 95), _ new LineTemplate(65, 95, 5, 95), _ new LineTemplate(5, 95, 5, 5) _ }, _ nothing, FillMode.Winding, "test" )
This does not work in VB.Net 2008 (it is the same code as the C# generated code). Am I missing something?
I want the shape to be called "GoTo".
Here is the VB.Net 2008 code I plan to use:
If e.ShapeName = "GoTo" Then e.Shape.Shape = Shapes.GoTo End If
Thanks Jim
|