How to add a single line to a Viso file, so that if remains editable as a line

We like to add a single line to a viso file. This line should be editable as a single line afterwards, if the file is opened in viso. The start and end coordninates of the line should be set during adding it by aspose.diagram from java. It must be a line and not a connector, because it can start/end anywhere, if there is shape or not.

Adding a master with a single line in it, results in a file with a shape. The line inside the shape could not be edited as a line, threre is always a shape box.

Is there any chance to get a short example snipet of code how to do it ?


We will surely try to create a sample code snippet to get what you require. However, would you please share a sample expected output Visio Diagram with us. We will test the scenario in our environment and share our feedback with you accordingly.


We have logged an investigation ticket as DIAGRAMJAVA-50710 in our issue tracking system after checking the file shared in private message. We will look into details your requirements and let you know as soon as the ticket is resolved. Please give us some time.

The issues you have found earlier (filed as DIAGRAMJAVA-50710) have been fixed in this update. This message was posted using Bugs notification tool by philip.zhou

Dear all,

WOW ! the fix works perfectly !!!

thank’s a lot, your quick reponse to a free support question is outstanding. ASPOSE is realy a customer oriented company. I’ll recommend you to all our developers.

Best regards :slight_smile:

1 Like


It is nice to hear that you are now able to achieve your requirements. Please keep using our API and feel free to create a new topic in case you need further assistance.