Hi Vinay,
Hi Imran,
Thanks for your reply.
Please find attached stencils you asked for.
Please have a look and guide to achieve same output as I shared in Sample file.
Also I would like to draw your attention on few points which I am facing.
1. diagram.Pages.Add(NewPage) - I am not able to add new page using this method.
2. Not having any option to get pagesheet using pagesheet’s Name.
3. Can we set one text formatting stylesheet for full page and how.
4. Equavalent of Microsoft.Office.Interop.Visio.Cell in Aspose.Diagram.
Please assist me on these points and let me know if anything else you need from my end.
Please see if you can give me updates at the earliest as I am not able to proceed my work due to these issues.
–
Regards,
Vinay
Hi Vinay,
Hi Vinay,
Hi Vinay,
In addition to my above reply, please note that you can apply a style sheet to an individual shape. Please refer to the following documentation topic: Working with Text|Documentation
Hi Imran,
Is there any updates on the query?
Request you to please increase the priority of the issues as I am not able to proceed my work due to these issues.
–
Regards,
Vinay
Hi Vinay,
Hi Vinay,
Hi Vinay,
I would like to update you regarding a workaround for ticket id DIAGRAM-33426. You can add an empty page by using following source code:
//load diagram
Diagram diagram = new Diagram("Drawing1.vsd");
// get max page id
int MaxPageId = GetMaxPageID(diagram);
// initialize a new page object
Page newPage = new Page();
newPage.Name = "new page";
newPage.ID = MaxPageId + 1;
diagram.Pages.Add(newPage);
diagram.Save("Output.vdx", SaveFileFormat.VDX);
private int GetMaxPageID(Diagram diagram)
{
int max = diagram.Pages[0].ID;
for (int i = 1; i < diagram.Pages.Count; i++)
{
if (max < diagram.Pages[i].ID)
max = diagram.Pages[i].ID;
}
return max;
}
Furthermore about ticket id DIAGRAM-33446, I have shared in my earlier post that you can apply a style sheet to a shape. You can also apply this style sheet to all other shapes. You just need to ignore shape name check in the following help topic: Applying Custom Style Sheets. In order to set the background of the page, you can set a background page by “Page.BackPage” property. We’re further looking into the matter. I’ll let you know in case of further movement.
I hope this helps.
The issues you have found earlier (filed as DIAGRAM-33445) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
Hi Vinay,
Thank you for asking about the resolution. I’m sorry to share with you that only one (DIAGRAM-33445) issue is fixed and the other three issues are pending for analysis. I’ve shared workarounds about two issues (DIAGRAM-33426, DIAGRAM-33446) in my earlier post. So far there is only one pending issue (DIAGRAM-33436) for which there is no way right now. We’ll let you know once it is resolved. Please be patient and spare us a little time. We’re sorry for your inconvenience.
We’ve added/updated following help topics:
The issues you have found earlier (filed as DIAGRAM-33426) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
(2)
Hi Vinay,
The issues you have found earlier (filed as DIAGRAM-33436) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
(1)
Hi Imran,
Today i received a mail from aspose regarding feature enhancement of DIAGRAM-33436.
I can see the updated version, thank you for this update.
Can you also please share link of sample code, so i can try the same and get this working at my end.
Thank You
Hi Vinay,
Thank you for your inquiry. Please refer to the following example topic: Glue Visio Shapes Together with Connection Point
Please feel free to write us back in case of any confusion or questions.
Hi Imran,
Thank you for glue feature update.
I am having one more query.
I am working on MasterCollection and while working on it faced an issue.
MasterCollection.GetMaster(int ID)
and
Collection.IsExist(int index)
Do we have option to pass string variable in GetMaster and IsExist function, suppose if I would like to pass name to get master details or any other way to do it ?
Please guide.
Thank You
Hi Vinay,
Hi Imran,
I worked over glue feature and found that glue function having option to glue shapes using 5 connection points.
I have a query regarding this feature and you can better understand my query using attached file,
Please have a look on attachment.
In file you can see that two shapes are glued in a cabinet one by one.
How can we achieve same output using glue function which only accepts FromShapeID, connection points and ToShapeID or suppose if I want to fill the cabinet using shapes.
Stencils are also attached in previous posts in case you need it.
Please guide.
Thank You