I am working on converting the EMF file to RTF file.
I am having a problem on converting the (x,y) coordinates (in EMR_LINETO record) to twips.
So please post the conversion factor.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
A Twip is twentieth of a point, a point is 1/72 of an inch. So if there’s no scaling in the metafile a twip should be 1/1440 of an inch. If you’re converting from, say, screen pixels to twips, you’d use GetDeviceCaps to find out the number of pixels per inch. So;