save_options = DiagramSaveOptions()
save_options.SaveFormat = SaveFileFormat.VSDX: Does not work. No Saveformat or SaveFileFormat is found.
save_options.setAutoFitPageToDrawingContent(True): ok
bpmn.save(visioname +“.vsdx”,SaveFileFormat.VSDX): ok but no resize.
bpmn.save(visioname +“.vsdx”, save_options): Saves the file in a corrupted format.
bpmn.save(visioname +“.vsdx”, ), save_options): Does not work. Only 2 parameters?
So the challenge is how to set save_options with the SaveFileFormat.VSDX) value.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.