New Forum | Previous | Next | (P-PDF) Developers
Topic: how can I translate 'quads' to 'pixels'??
Conf: (P-PDF) Developers, Msg: 120863
Date: 10/25/2004 05:18 PM
er, anyone know how to translate "1 quad" to "1 pixel"??
i tried to use "GetDeviceCaps" and I know 1 quad = 1/72 inch.
but what seems don't work.
I'm trying to write such a program:
use automation to manipulate Acrobat ->
transfer document page to clipboard ->
get document page from clipboard and draw it in my program
user input a string to find, my program find it and draw a
rect around it.
I got the "quads" using:
and I know 1 quads= 1/72 inch
but the GetDeviceCaps()'s inch->pixel just can't work properly.