PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → WD20>ImageControl displaying PDF-File -> properties imageHeight / imageWidth are -1
WD20>ImageControl displaying PDF-File -> properties imageHeight / imageWidth are -1
Débuté par meikl, 17 mai 2017 16:24 - Aucune réponse
Membre enregistré
118 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 :)