7.4

Table Of Contents
System Objects with Global Scope
Current System Object
Name: Description:
&Current.DataPage
Integer value containing the page number of the current data page, or the number of the current rec-
ord set in the case of a database emulation.
&Current.Line
Integer value containing the line number of the current line of data within the data page, or the
number of the current record within the record set. This value is read-write and can be modified
using the set command.
&Current.LPP Integer value containing the number of lines per page in the current data page.
&Current.MediaColor
String value containing the color set in the Media color box of the Page dialog box for the current doc-
ument 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 (system
object)" (page 378)
&Current.MediaType
String value containing the type set in the Media type box of the Page dialog box for the current doc-
ument 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 (system object)" (page 378)
&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 Doc-
ument 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 (system object)" (page 378)
&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 (system object)" (page 378)
&Current.Orientation
Integer value containing the orientation of the current document page (0=portrait, 1=landscape,
2=Rotated portrait, 3=Rotated landscape). "Current (system object)" (page 378)
&Current.PageHeight
Measure value containing the physical page height, in inches, of the current page in the
document."Current (system object)" (page 378)
&Current.PageWidth
Measure value containing the physical page width, in inches, of the current page in the
document."Current (system object)" (page 378)
&Current.PrintPage
Integer value containing the current page number in the document."Current (system object)" (page
378)
&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)."Current
(system object)" (page 378)
©2010 Objectif Lune Inc - 229 -