identifying freeform shape nodes which are freeformbuilder nodes

J

joecent

it seems that when freeformbuilder converts shape, it generates more nodes
than the original freeformbuilder input nodes (when segmentType is not line),
but when you right click the shape to edit points it clearly shows the
original nodes (from freeformbuilder). Is there anyway (like shape node
parameter) to identify which node is the original node (from freeformbuilder)
and which is not?

The more generate question should be what is the exact specification of
nodes' property and member (I can't find such info anywhere, some VIP did
suggest it is not available)

OK where is the sample code

I have a freeformbuilder with three nodes (see code below), but resulting
shape has 7 nodes. please help me to identify the original input nodes (the
extra nodes seems to be for spline purpose for sure, but not sure the exact
layout/order they are located the nodes sequence)


With
Globals.ThisAddIn.Application.ActivePresentation.Slides(1).Shapes.BuildFreeform(EditingType:=Microsoft.Office.Core.MsoEditingType.msoEditingCorner, _

' Add two more nodes

..AddNodes(SegmentType:=Microsoft.Office.Core.MsoSegmentType.msoSegmentCurve, _

EditingType:=Microsoft.Office.Core.MsoEditingType.msoEditingSymmetric, _

X1:=100, Y1:=200)

', X2:=200, Y2:=200, X3:=250, Y3:=300)

..AddNodes(SegmentType:=Microsoft.Office.Core.MsoSegmentType.msoSegmentCurve, _

EditingType:=Microsoft.Office.Core.MsoEditingType.msoEditingSymmetric,
X1:=200, Y1:=200)

..ConvertToShape()



End With
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top