Printer Unit of Measure 
Author Message
 Printer Unit of Measure

When I use the graphic object to draw a line 100 units
wide on a printed page it is exactly 1 inch long. Can I
then assume that 100 units per inch will exist on any
printer that I print on, or is this printer dependant?
What is the name of the unit of measure that I am drawing
to the printer with?


Tue, 11 Oct 2005 04:23:52 GMT  
 Printer Unit of Measure
Hello,

The default PageUnit for printers is going to be Display units (see the
documentation for the GraphicsUnit enumeration for more information).  
Display units are units of 1/100 of an inch.  So, yes, you should get the
same results regardless of the printer resolution.  By the way, you can
change the units used by modifying Graphics.PageUnit.

I hope that helps.

Thanks,
David
Microsoft Developer Support
This posting is provided "AS IS" with no warranties, and confers no rights.
Visit http://www.microsoft.com/security for current information on security.

Quote:
>>When I use the graphic object to draw a line 100 units
>>wide on a printed page it is exactly 1 inch long. Can I
>>then assume that 100 units per inch will exist on any
>>printer that I print on, or is this printer dependant?
>>What is the name of the unit of measure that I am drawing
>>to the printer with?



Tue, 18 Oct 2005 00:58:28 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. VBA for lookup unit of measure

2. D3D9 - Unit of Measure & camera query

3. How to measure 7 dialog box units?

4. Macro to set resource units to Max units

5. How to Measure the Success of Purging

6. performance measuring - help

7. Measuring height of table

8. Measure Text

9. measure string

10. how to measure speed connection

11. measure items

12. Measuring the 'width' of a string

 

 
Powered by phpBB® Forum Software