60001823 Is it possible to support Multilines and Multiline styles in VectorDraw

Article 60001823
Type Wish
Product Engine
Date Added 10/16/2012 12:00:00 AM
Fixed (1/28/2013 12:00:00 AM)
Submitted by Peter Chanios

Summary

Is it possible to support Multilines and Multiline styles in VectorDraw

Solution

In version 6025 we added several new objects to our library in order to support Multilines and MultilineStyles.

First of all we added a new vdFigure object named vdMultiline.
To the multiline figure in order to be drawn you have to set a vdMultilineStyle which is already added to the MultilineStyles collection of the Document.
So there is another object that we added to the vdPrimaries named vdMultilineStyle

Please check our samples AddEntities , Collections , and Commands in order to see how this object can be easily used.

A command has been added to the vdCommandAction object named CmdMultiLine.
This command can be used as usual : vdFramedControl1.BaseControl.ActiveDocument.CommandAction.CmdMultiLine(null);
In this case the user will be asked for points and the Multiline will use the Document's ActiveMultiLineStyle.

Finally we added a new dialog to handle the MultilineStyles. You can call this dialog by code like below
DialogResult res = VectorDraw.Professional.Dialogs.frmMultilineStyles.Show(vdFramedControl1.BaseControl.ActiveDocument);

Send comments on this topic.