PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → WD20>ImageControl displaying PDF-File -> properties imageHeight / imageWidth are -1
WD20>ImageControl displaying PDF-File -> properties imageHeight / imageWidth are -1
Iniciado por meikl, 17,may. 2017 16:24 - No hay respuesta
Miembro registrado
127 mensajes
Publicado el 17,mayo 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 :)