Line width

<< Click to Display Table of Contents >>

Navigation:  Common vpxPrint tags > Shapes >

Line width

 

Standard line thickness:

 

<|>        <|> changes the line and rectangle edge thickness.

By default, vpxPrint uses a 1-pixel line width.

 

Syntax: <|n>

 

Example : <|3> defines a 3 pixels line thickness.

 

Note that the <|> tag generates a one-pixel line without regarding the printer resolution.

That results in different thickness when printing on printers with different resolutions. If you want the same thickness, use the <||> tag (see below).

 

 

<||>        <||> changes the line and rectangle thickness on a device-independent basis.

 

Syntax:

                 <||n>

 

A line thickness <|> is expressed in pixels. Then the thickness depends on the printer resolution and the result is not the same with different printer resolutions. To solve this problem, use the <||> tag.  

 

The standard printer is by default a 300 DPI printer.

 

A <||1> is a one-pixel line on a 300 DPI printer (and any printer with a lower resolution). With higher resolutions the thickness is scaled. A <||1> is a 2 pixels line on 600 DPI, 4 pixels on 1200 DPI.