Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Sapscript unit of measure

Former Member
0 Kudos

Hi experts,

im confused with the CH unit of measure used in sapscript. how exactly this unit is used? is there any computation regarding this measure?

Thanks.

1 ACCEPTED SOLUTION

Simha_
Employee
Employee
0 Kudos

Hi,

Take a look at it...

Units of measurement: The following units of measurement may be used:

· TW (twip)

· PT (point)

· IN (inch)

· MM (millimeter)

· CM (centimeter)

· LN (line)

· CH (character).

The following conversion factors apply:

· 1 TW = 1/20 PT

· 1 PT = 1/72 IN

· 1 IN = 2.54 CM

· 1 CM = 10 MM

· 1 CH = height of a character relative to the CPI specification in the form header

· 1 LN = height of a line relative to the LPI specification in the form header

Now u can get idea how to use the spacing and its adjustments...

Cheers,

Simha.

Reward points if it is helpful

2 REPLIES 2

Simha_
Employee
Employee
0 Kudos

Hi,

Take a look at it...

Units of measurement: The following units of measurement may be used:

· TW (twip)

· PT (point)

· IN (inch)

· MM (millimeter)

· CM (centimeter)

· LN (line)

· CH (character).

The following conversion factors apply:

· 1 TW = 1/20 PT

· 1 PT = 1/72 IN

· 1 IN = 2.54 CM

· 1 CM = 10 MM

· 1 CH = height of a character relative to the CPI specification in the form header

· 1 LN = height of a line relative to the LPI specification in the form header

Now u can get idea how to use the spacing and its adjustments...

Cheers,

Simha.

Reward points if it is helpful

Former Member
0 Kudos

HI

GOOD

GO THROUGH THIS

Unit

Valid units of measurement are TW (twip), PT (point), IN (inch), MM (millimeter), CM (centimeter), LN (line), CH (character). The following conversions apply:

1 TW = 1/20 PT

1 PT = 1/72 IN

1 IN = 2.54 CM

1 CM = 10 MM

1 CH = character height from layout set header (CPI)

1 LN = line height from layout set header (LPI)

Examples

/: BOX FRAME 10 TW

Draws a frame around the current window with a frame thickness of 10 TW (= 0.5 PT)

/: BOX INTENSITY 10

Shades the window background with a density (gray shade) of

10 %

/: BOX HEIGHT 0 TW FRAME 10 TW

Draws a horizontal line at the upper window border over the entire window width

/: BOX WIDTH 0 TW FRAME 10 TW

Draws a vertical line at the left window border over the entire window height

/: BOX WIDTH '17.5' CM HEIGHT '1' CM FRAME 10 TW INTENSITY 15

/: BOX WIDTH '17.5' CM HEIGHT '13.5' CM FRAME 10 TW

/: BOX XPOS '10.0' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW

/: BOX XPOS '13.5' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW

Draws two rectangles and two lines to construct a three-column table with a highlighted heading line

2. /: POSITION [XORIGIN] [YORIGIN] [WINDOW] [PAGE]

THANKS

MRUTYUN