PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 21 → WD20>ImageControl displaying PDF-File -> properties imageHeight / imageWidth are -1
WD20>ImageControl displaying PDF-File -> properties imageHeight / imageWidth are -1
Débuté par Michael, 17 mai 2017 16:24 - Aucune réponse
//hostimage.webdev.info/avatars/0KrpU55N0L1hjl0lmPGHBw
Membre enregistré
51 messages
Posté le 17 mai 2017 - 16:24
Hi all,

want to use my own zooming issue for an imageControl. Therfore i need the visible-Bounds (width/height) and the bounds of the displayed Image (guessed imageWidth/imageHeight).

When displaying a PDF-File first/one page directly (not with PDFExtractPage) in the imageControl imageWidth/imageHeight are both -1, even the (image) is not entirely displayed.

How to get the bounds of the viewed PDF-Page in Pixel?

thanks
meikl :)