6.0

Table Of Contents
43
&Current.LPP
Integer value containing the number of lines per page in the current data page. In
database emulation, this value can also be used in place of the subreccount() function
to determine how many records a record set contains.
Note that contrary to the subreccount() function, the current.lpp function only returns
the correct information if you have a fixed number of records per page. If the current
record set definition is based on a field condition, the returned value will correspond
to the maximum record of the set.
&Current.MediaColor
String value containing the color set in the Media color box of the Page dialog box for
the current document page, or, if no value is set in that box, the color set in the Media
color box in the Document dialog box for the document. The Media color box appears
when you select Media selection in the Selection type box. Recall that the Media color
box specifies the color of paper.
&Current.MediaType
String value containing the type set in the Media type box of the Page dialog box for
the current document page, or, if no value is set in that box, the type set in the Media
type box in the Document dialog box for the document. The Media type box appears
when you select Media selection in the Selection type box. Recall that the Media type
box specifies the type of paper (plain, coated, etc.).
&Current.MediaWeight
Integer value containing the weight set in the Media weight box of the Page dialog
box for the current document page, or, if no value is set in that box, the weight set in
the Media weight box in the Document dialog box for the document. The Media
weight box appears when you select Media selection in the Selection type box. Recall
that the Media weight box specifies the weight of paper, in grams per square meter.
&Current.MinFeature
Measure value containing the width of a single pixel at the current zoom level. Precise
to 1/65536 inch. This is the minimum size you can use in PlanetPress Talk code. If you
use a smaller value (for example as an argument in a command), PlanetPress Talk
automatically replaces that value with the value of minfeature.
&Current.Orientation
Integer value containing the orientation of the current document page (0=portrait,
1=landscape, 2=Rotated portrait, 3=Rotated landscape).
&Current.PageHeight
Measure value containing the physical page height, in inches, of the current page in
the document.
&Current.PageWidth
Measure value containing the physical page width, in inches, of the current page in
the document.
&Current.PrintPage
Integer value containing the current page number in the document.
&Current.x
&Current.y
Measure value containing the current horizontal (x) or vertical (y) position of the
drawing pen on the current page. This value is relative to the top left corner of the
current page - whose coordinates are (0,0) - and may not necessarily be equal to the
current physical position on the page (for instance, if the page is called from a
PlanetPress Talk object located on the middle of the physical page).
Name: Description: