-
FlexPro
- Zoom sur FlexPro
- Fonctionnalités & Options
- Domaines d’application
- Tous les avantages
- Nouveau dans FlexPro 2021
- Testez FlexPro gratuitement
- FlexPro View OEM Freeware
- Conseils d’achat
- Login
- Langue
- +49 6894 929600
- infoweisang.com
- Google Maps
- Produits
- News
- Support
- Société
- Emplois
- Contact
- Login
- Langue
- +49 6894 929600
- infoweisang.com
- Google Maps
Exporting a diagram to a picture file format depending on display !
- This topic has 3 replies, 2 voices, and was last updated 9 years, 3 months ago by HerveM1234.
-
AuthorPosts
-
August 7, 2015 at 9:57 am #12887HerveM1234Participant
Hi,
I don’t really understand why if I export a diagram, using right click, to a picture file (PNG or EMF) with the same resolution set to 600dpi, the result depends on the display at the moment of the exportation!
It seems to work as a screenshot, not a real conversion to image formats.
e.g. if the FlexPro window is maximised, everything is correct, if not : the picture is very small.
When using automatic export in VBA, the quality depends on the last window setting!Thanks for help
August 7, 2015 at 9:57 am #8547HerveM1234ParticipantHi,
I don’t really understand why if I export a diagram, using right click, to a picture file (PNG or EMF) with the same resolution set to 600dpi, the result depends on the display at the moment of the exportation!
It seems to work as a screenshot, not a real conversion to image formats.
e.g. if the FlexPro window is maximised, everything is correct, if not : the picture is very small.
When using automatic export in VBA, the quality depends on the last window setting!Thanks for help
August 11, 2015 at 11:30 am #9402Bernhard KantzParticipantIf 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).
August 11, 2015 at 3:01 pm #9404HerveM1234ParticipantThanks for that.
When I use macro, I write
Application.WindowState = fpWindowStateMaximized ExportSettings.PNG.Resolution = 600 'for example
before exporting picture.
The problem is when manual export is performed.
-
AuthorPosts
- You must be logged in to reply to this topic.