GET_STYLEDTEXT_LPRINTLENGTH
|
Syntax: |
GET_STYLEDTEXT_LPRINTLENGTH(<Type of
Wordprocessor>,<Number of Lines>,<Number of Columns>,<From
Row>,<From Column>,<To Row>,<Width>,<Row Beginning At
Page 2>,<Styled Text>)
|
||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||
|
Meaning: |
Returns the print length of the <Styled
Text> in print lines if the <Styled Text> is printed in the width of
<Width> print columns. <Number of Lines> and <Number of
Columns> specify the grid of the print area in rows and columns and refer
to the currently selected printer. If an error occurs, the function returns the
result –1 and the variable ERRORTEXT$ contains the error
report. |
||||||||||||||||||||||||||||
|
Parameter: |
|
||||||||||||||||||||||||||||
|
Sample: |
/* Read
STYLED_TEXT$ from file Info.html STYLED_TEXT$ = GET_STYLEDTEXT_FROM_FILE$(3,
"Info.html") IF OK
<> 0 THEN ... Error ... ENDIF /* Compute the number
of print lines if Info.html is printed on /* the current page
from line 20 to 50 and on the following pages /* from line 10 to
50. In each line printing starts at column 15 /* and print width
is 45 columns. Z% = GET_STYLEDTEXT_LPRINTLENGTH(3,60,80,20,15,50,45,20,STYLED_TEXT$) |
||||||||||||||||||||||||||||
|
See also: |
|