We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Open an Encrypted file

Hi,


I’m currently searching a way to open an enrcpted Visio file this Aspose.Diagram.
In the other Aspose Modules I use the following functions:
//Instantiate LoadOptions
Aspose.Slides.LoadOptions loadOptions = new Aspose.Slides.LoadOptions();
//Specify the password
loadOptions.Password = password;
pres = new Aspose.Slides.Presentation(sourcePath, loadOptions);

But the Password Paramezter does not exist in the Aspose.Diagram.LoadOptions class.

Can anybody help me?

Thanks in advance.

Benjamin

Hi Benjamin,


Thank you for contacting support. We’re sorry, there is no way to load encrypted Visio diagram. We have logged this feature request under the ticket id DIAGRAMNET-50438 in our issue tracking system. Your post has also been linked to this issue. We’ll keep you informed regarding any available updates. We’re sorry for the inconvenience caused.

Hi Benjamin,


Thank you for being patient. Please note, Microsoft Office Visio does not support setting the password of Visio diagrams as Microsoft Office PowerPoint do. Aspose.Diagram mimics the behavior of Microsoft Office Visio. If you can set the password of a Visio diagram manually, then please prepare a sample and provide its zip in this forum thread. We’ll investigate and reply you appropriately.