70002083 Keep ExternalReferencePath unchanged

Article 70002083
Type Wish
Product WebJS
Version 9002
Date Added 10/20/2021 12:00:00 AM
Fixed 9.9003.0.2 (10/20/2021 12:00:00 AM)
Submitted by Brendan Fry

Summary

I would like to keep the External Reference Path unchanged after export the document to .vds.

Solution

In version 9003.0.2 the property DonNotChangeExternalReferencePaths has been exported to ExportScriptFlags of ExportScript method which allows the user to keep unchanged the Extrnal Reference Path.
By default the path of the extrnal reference file is changed to single filename name with the .vds extension at the end.

Example:
doc.ExportScript(@"C:\test.vds", vdDocument.ExportScriptFlags.DonNotChangeExternalReferencePaths, 6, null, 1024, null);

Send comments on this topic.