Filename: string The name of the label definition file.
LabelName: string The name of the label definition.
LabelFlags: enumeration Laser!
LaserandTractorFed!
TractorFed!
SheetWidth: measurement The width of the label sheet.
SheetLength: measurement The length of the label sheet.
ColumnsPerPage: numeric The number of columns of labels on the sheet.
RowsPerPage: numeric The number of rows of labels on the sheet.
LabelWidth: measurement The width of the individual labels.
LabelLength: measurement The length of the individual labels.
LeftOffset: measurement The distance from the left edge of the page to the left edge of the first label column.
TopOffset: measurement The distance from the top edge of the page to the top edge of the first label row.
BetweenColumns: measurement The amount of space between columns.
BetweenRows: measurement The amount of space between rows.
MarginLeft: measurement The left margin.
MarginRight: measurement The right margin.
MarginTop: measurement The top margin.
MarginBottom: measurement The bottom margin.
LabelsDelete
Syntax
(Filename: string; LabelName: string)
Description
Delete a labels definition.
Parameters
Filename: string The filename of the label definition file.
LabelName: string The name of the label definition.
LabelsDlg
Syntax
()
Description
Display the Labels dialog box.
LabelsFileCreate
Syntax
(Filename: string)
Description
Create a labels file.
Parameters
Filename: string The filename of the label file.
LabelsFileDescription
Syntax
(Filename: string; Description: string)
Description
Create a description for a labels file.
Parameters
Filename: string The filename of the label file.
Description: string The description of the label file.
LabelsFileSelect
Syntax
(Filename: string)
Description
Select a labels file.
Parameters
Filename: string The filename of the label file.
LabelsOff
Syntax
()
Description
Turn off labels mode.
LabelsSelect
Syntax
(Filename: string; LabelName: string)
Description
Select a label definition.
Parameters
Filename: string The filename of the label file.
LabelName: string The name of the label definition.
Language
Syntax
(Language: string)
Description
Specify a language for a document or a selection of text.
Parameters
Language: string Two characters that specify a language.
LanguageDlg
Syntax
()
Description
Display the Language dialog box.
LastOpenedAdd
Syntax
({Filename: string})
Description
Place a filename at the top of Last Opened on the File menu.
Parameters
Filename: string (optional) The filename you want to place on the File menu.
LaunchOnlineService
Syntax
(ProgramPath: string; Address: string)
Description
Start an online service and specify an address.
Parameters
ProgramPath: string The path and filename of an online service program.
Address: string The URL to open in your browser.
Leading
Syntax
(Adjustment: measurement)
Description
Specify the leading adjustment.
Parameters
Adjustment: measurement The amount of adjustment.
LineBreak
Syntax
()
Description
Insert a Ln Brk (Line Break) code at the insertion point. This command begins a new line without ending the paragraph. It was created for use in Web documents, but it also works in regular documents.
LineCreateDlg
Syntax
()
Description
Display the Create Graphics Line dialog box.
LineEditDlg
Syntax
()
Description
Display the Edit Graphics Line dialog box.
LineHeight
Syntax
(Height: any; Minimum: numeric)
Description
Specify the line height, measured from baseline to baseline in single-spaced text. Fixed line height: specify unit of measurement by preceding LineHeight with DEFAULTUNITS or by specifying a unit of measurement identifier (", c, p, w) in the Height parameter. Auto line height: measured as point size of the current font plus two points.
The macro function will ALWAYS only return 0 or 1. 0 means that your current line height is of fixed type while 1 means it is of automatic or "at least" type. There is no query macro function to return the actual line height value.
Parameters
Height: any Select Auto! or specify a fixed line height and unit of measurement.
Turn Line Numbering on or off, and set numbering attributes. When the Default parameter is DontUseDefaultValues!, you can specify font, color, Shade, and AttributesOn parameters. You can see the values of a selected color in the Define Color Printing Palette dialog box.
Specify the color of a line segment. Use with commands such as LineSegmentCreate and LineSegmentEnd.
Parameters
ColorName: string (optional) This parameter has been left in for backward compatability with previous versions of WordPerfect. To specify a color in WordPerfect 8, use the Red, Green, and Blue parameters.
Red: numeric (optional) Value: 0-255.
Green: numeric (optional) Value: 0-255.
Blue: numeric (optional) Value: 0-255.
Shade: numeric (optional) Percent: 0-100. Although Shade is optional, omitting it defaults the line color to black, regardless of the other parameter values.
LineSegmentCreate
Syntax
(Position: numeric)
Description
Create a custom line style of stacked lines. Use with commands such as LineStyleEdit.
Parameters
Position: numeric First (inside) position: 1.
LineSegmentDelete
Syntax
(Position: numeric)
Description
Delete a single line of a stacked custom line. Use with commands such as LineStyleEdit and LineSegmentEnd.
Parameters
Position: numeric First (inside) position: 1.
LineSegmentEdit
Syntax
(Position: numeric)
Description
Specify a line segment to edit. Follow with editing commands and LineSegmentEnd.
Parameters
Position: numeric First (inside) position: 0.
LineSegmentEnd
Syntax
(State: enumeration)
Description
Save or cancel changes to a line segment. Precede with LineSegmentCreate or LineSegmentEdit.
Parameters
State: enumeration Cancel!
Save!
LineSegmentSetUser
Syntax
(OnOffs: numeric)
Description
Begin the sequence that defines a custom line pattern, and specify the number of dashes and spaces in the pattern. Follow with the number of LineSegmentSetUserData commands equal to the number of dashes and spaces specified, and by LineSegmentSetUserEnd.
Parameters
OnOffs: numeric The number of dashes/spaces.
LineSegmentSetUserData
Syntax
(SegSize: measurement)
Description
Specify a dash or space length in a custom line pattern. Precede with LineSegmentSetUser and follow with LineSegmentEnd.
Parameters
SegSize: measurement The length of a dash or space.
LineSegmentSetUserEnd
Syntax
()
Description
End the sequence that defines a custom line pattern.
LineSegmentSetWPG2
Syntax
(Style: numeric; LineStyle: enumeration)
Description
Set a line segment pattern to a predefined WPG2 line pattern.
Parameters
Style: numeric The pattern set. The only valid entry is 0.
LineStyle: enumeration ButtonBottomRightLine!
ButtonTopLeftLine!
DashedLine!
DottedLine!
DoubleLine!
ExtraThickLine!
HeavyDoubleLine!
HeavySingleLine!
NoLine!
SingleLine!
TableDefaultLine!
ThickLine!
ThickThinLine!
ThinThickLine!
LineSegmentSpacing
Syntax
(Spacing: measurement)
Description
Specify the distance between lines in a stacked custom line.
Parameters
Spacing: measurement The distance between lines.
LineSegmentWavy
Syntax
(LineWavy: enumeration)
Description
Lets you set the waviness of a line segment
Parameters
LineWavy: enumeration NoWavy!
SquareWavy!
PointyWavy!
BothWavy!
Note
New command
LineSegmentWavyWidth
Syntax
(Index: numeric)
Description
Lets you set the width of a wavy line segment
Parameters
Index: numeric The width of a wavy line segment
Note
New command
LineSegmentWidth
Syntax
(Width: measurement)
Description
Set the thickness (width) of a line segment.
Parameters
Width: measurement The width of line segments.
LineSpacing
Syntax
(Spacing: numeric)
Description
Specify line spacing for the current and subsequent paragraphs. When recorded, the tenths position is used. When typed, tenths is optional.
Parameters
Spacing: numeric Amount of space between text lines.
Create a graphics line style. Use with LineStyleEdit and LineStyleEnd.
Parameters
Name: string The name of the line style.
Library: enumeration (optional) CurrentDoc!
PersonalLibrary!
SharedLibrary!
LineStyleDelete
Syntax
(Name: any; Library: enumeration)
Description
Delete a user-defined graphics line style. WordPerfect line styles cannot be deleted.
Parameters
Name: any ButtonBottomRightLine!
ButtonTopLeftLine!
DashedLine!
DottedLine!
DoubleLine!
ExtraThickLine!
HeavyDoubleLine!
HeavySingleLine!
NoLine!
SingleLine!
TableDefaultLine!
ThickLine!
ThickThinLine!
ThinThickLine!
Library: enumeration (optional) CurrentDoc!
PersonalLibrary!
SharedLibrary!
LineStyleEdit
Syntax
(Style: any; Library: enumeration)
Description
Edit a line style. Use with commands such as LineStyleCreate and LineStyleEnd.
Parameters
Style: any ButtonBottomRightLine!
ButtonTopLeftLine!
DashedLine!
DottedLine!
DoubleLine!
ExtraThickLine!
HeavyDoubleLine!
HeavySingleLine!
NoLine!
SingleLine!
TableDefaultLine!
ThickLine!
ThickThinLine!
ThinThickLine!
Library: enumeration (optional) CurrentDoc!
PersonalLibrary!
SharedLibrary!
LineStyleEnd
Syntax
(State: enumeration)
Description
Save or cancel changes to a graphics line style.
Parameters
State: enumeration Cancel!
Save!
LineStyleName
Syntax
(LineName: string)
Description
Rename a user-defined graphics line style. WordPerfect line styles cannot be renamed. Precede with LineStyleCreate or LineStyleEdit and end with LineStyleEnd.
Parameters
LineName: string The new name for the line style.
LineStyleRetrieve
Syntax
(Filename: string; Style: enumeration)
Description
Retrieve all line graphics styles from the specified document or template and add to the specified style list.
Parameters
Filename: string The path and filename of a document or template containing the styles to retrieve.
Style: enumeration The destination for the retrieved styles. Use CurrentDoc! to add the styles to the current document style list. Use PersonalLibrary! to add the styles to the default template style list. Use SharedLibrary! to add the styles to the additional objects template style list. If an additional objects template is not specified in Files Preferences, and SharedLibrary! is used here, the command does nothing.
CurrentDoc!
PersonalLibrary!
SharedLibrary!
LineStyleSave
Syntax
(FileName: string; Style: enumeration)
Description
Save a line style library.
Parameters
FileName: string The filename for the new line style.