|
-
Oct 6th, 2000, 04:46 PM
#1
Thread Starter
Junior Member
I use the following API:
Declare Function TextOut Lib "gdi32" Alias "TextOutA" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal lpString As String, ByVal nCount As Long) As Long
For x and y you must write some values in pixel. However, are they on every printer the same or do they depend on the solution of every printer ? And does anybody know how many
pixels are one cm ?
Thanks a lot for help,
Thomas
-
Oct 7th, 2000, 04:45 PM
#2
Addicted Member
If you are printing using VB's Printer object, then just set the ScaleMode to pixels.
BTW: 1 cm = 567 twips
1 cm = approx. 38-39 pixels
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|