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.