This project has moved and is read-only. For the latest updates, please go here.

how to create bezier line?

Jan 27, 2012 at 4:29 AM

how to create bezier line? and how to close line like 'path.CloseFigure()'? how to reverse line?

thanks! 

Jan 27, 2012 at 8:07 AM
vrm wrote:

how to create bezier line? 

In order to create a bezier line, you have to implement it yourself. Derive your class from LineShapeBase and see PolyLineBase or CircularArcBase to get an idea how to implement lines and what methods and properties to override/implement. Please note that this is not a trivial task. If you want to try nevertheless, feel free to contact support(at)dataweb.de.

vrm wrote:

and how to close line like 'path.CloseFigure()'?

You don't really need to close a line: Each line has a minimum of 2 points when creating it. All other line control points will be added between ControlPointId.FirstVertex and ControlPointId.LastVertex by calling AddVertex and/or InsertVertex of ILinearShape.

vrm wrote:

how to reverse line?

Sorry, I don't get your point. What exactly do you mean with "reverse line"? What's your aim?