Home > Community > General > Exporting a diagram to a picture file format depending on display ! > Antwort auf: Exporting a diagram to a picture file format depending on display !

#9402
Bernhard KantzBernhard Kantz
Teilnehmer

If the SizeToFitWindow of the diagram is set to True, the size specified by Width and Height is ignored. This may lead to the unwanted behavior you observed. So resetting this property (and also CursorActive) in your VBA script will export the diagram in the defined size (regarding the resolution).