Assign the accelerator text of a macro method to a variable. When a method is mapped to a keystroke, the accelerator text represents the keystroke.
Parameters
Variable: variable The name of the variable.
Token: method name The macro method token.
GraphicBoxStyleDlg
Syntax
GraphicBoxStyleDlg()
Description
Display the Box Style dialog box.
GraphicCreateBox
Syntax
GraphicCreateBox([BoxStyleName])
Description
Display the Insert Image dialog box.
Parameters
BoxStyleName: any (optional) The box style to use.
FigureBox 0
TableBox 1
TextBox 2
UserBox 3
EquationBox 4
WatermarkImageBox 6
InLineEquationBox 7
NoBox 127
GraphicCreateChart
Syntax
GraphicCreateChart()
Description
Create a chart with Corel Presentations.
GraphicCreateTextArt
Syntax
GraphicCreateTextArt()
Description
Start TextArt to create a TextArt image. TextArt allows you to add special effects to text.
GraphicEditBox
Syntax
GraphicEditBox([BoxNumber As Integer])
Description
Display the Edit Box dialog box. If the current document contains more than one graphics box and none of them are selected, the Select Box to Edit dialog box displays. Also, if the current document does not contain a graphics box, an invalid function error is returned.
Parameters
BoxNumber: numeric (optional) The number of the box you want to edit.
GraphicsBoxCaptionDlg
Syntax
GraphicsBoxCaptionDlg()
Description
Display the Box Caption dialog box.
GraphicsBoxContentDlg
Syntax
GraphicsBoxContentDlg()
Description
Display the Box Content dialog box.
GraphicsBoxFindDlg
Syntax
GraphicsBoxFindDlg()
Description
Display the Select Box to Edit dialog box. The current document must contain at least two boxes.
GraphicsBoxSizeDlg
Syntax
GraphicsBoxSizeDlg()
Description
Display the Box Size dialog box.
GraphicsFigureEditAllDlg
Syntax
GraphicsFigureEditAllDlg()
Description
Display the Image Settings dialog box.
GraphicsLineColor
Syntax
GraphicsLineColor([ColorName As String], [Red As Integer], [Green As Integer], [Blue As Integer], [Shade As Integer])
Description
Specify the color of a graphics line.
Parameters
ColorName: string (optional) This parameter has been left in for backward compatibility 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 to 100.
GraphicsLineCreate
Syntax
GraphicsLineCreate([LineType As _GraphicsLineCreate_LineType_enum])
Description
Create a graphics line.
Parameters
LineType: enumeration (optional) HorizontalLine!
VerticalLine!
GraphicsLineDelete
Syntax
GraphicsLineDelete(Line As Integer)
Description
Delete a graphics line.
Parameters
Line: numeric The line to delete.
GraphicsLineEdit
Syntax
GraphicsLineEdit(Line As Integer)
Description
Specify a graphics line to edit.
Parameters
Line: numeric The line to edit.
GraphicsLineEditNext
Syntax
GraphicsLineEditNext([LineType As _GraphicsLineEditNext_LineType_enum])
Description
Begin editing of the next graphics line.
Parameters
LineType: enumeration (optional) HorizontalLine!
VerticalLine!
GraphicsLineEditPrevious
Syntax
GraphicsLineEditPrevious([LineType As _GraphicsLineEditPrevious_LineType_enum])
Description
Begin editing of the previous graphics line.
Parameters
LineType: enumeration (optional) HorizontalLine!
VerticalLine!
GraphicsLineEnd
Syntax
GraphicsLineEnd(State As _GraphicsLineEnd_State_enum)
Description
Save or cancel changes made to a graphics line.
Parameters
State: enumeration Cancel!
Save!
GraphicsLineHorizontalPosition
Syntax
GraphicsLineHorizontalPosition(Position As _GraphicsLineHorizontalPosition_Position_enum, [AbsPos As Integer], [LeftColNum As Integer])
Description
Position a graphics line horizontally.
Parameters
Position: enumeration BetweenColumns!
Center!
FullAlign!
Left!
Right!
Set!
AbsPos: measurement (optional) Exact position on a page for a graphics line. Use if Position parameter is Set!.
LeftColNum: numeric (optional) The column to the left of a graphics line. Use if the Position parameter is BetweenColumns!.
GraphicsLineLength
Syntax
GraphicsLineLength(Length As Integer)
Description
Specify the length of graphics lines. The horizontal or vertical position of the graphics line may not be set to Full in the Create Graphics Line (or Edit Graphics Line) dialog box. Precede with GraphicsLineCreate or GraphicsLineEdit and follow with GraphicsLineEnd.
Parameters
Length: measurement The length of the line.
GraphicsLineSpacing
Syntax
GraphicsLineSpacing(TopSpace As Integer, [BottomSpace As Integer])
Description
Specify the amount of white space between a graphics line and text. Precede with GraphicsLineCreate or GraphicsLineEdit and follow with GraphicsLineEnd.
Parameters
TopSpace: measurement The space above a horizontal graphics line or to the left of a vertical graphics line between the line and text.
BottomSpace: measurement (optional) The space below a horizontal graphics line or to the right of a vertical graphics line between the line and text. Default: amount entered for the TopSpace parameter.
GraphicsLineStyle
Syntax
GraphicsLineStyle(Style)
Description
Specify a graphics line style. Precede with GraphicsLineCreate() or GraphicsLineEdit() and follow with GraphicsLineEnd(). You must pass the numeric value of the style.
Parameters
Style: any Enclose custom styles in quotation marks.
ButtonBottomRight!
ButtonTopLeft!
DashedLine!
DottedLine!
DoubleLine!
ExtraThickLine!
HeavyDoubleLine!
HeavySingleLine!
NoLine!
SingleLine!
TableDefaultLine!
ThickLine!
ThickThinLine!
ThinThickLine!
9
8
3
4
1
5
11
10
127
0
126
5
7
6
GraphicsLineThickness
Syntax
GraphicsLineThickness(Thickness)
Description
Specify the thickness of a graphics line. Precede with GraphicsLineCreate() or GraphicsLineEdit() and follow with GraphicsLineEnd().
Parameters
Thickness: any Specify the thickness of a graphics line.
GraphicsLineType
Syntax
GraphicsLineType(LineType As _GraphicsLineType_LineType_enum)
Description
Specify whether a graphics line is horizontal or vertical.
Parameters
LineType: enumeration Horizontal!
Vertical!
GraphicsLineUpdateDisplay
Syntax
GraphicsLineUpdateDisplay(State As _GraphicsLineUpdateDisplay_State_enum)
Description
Update a graphics line display after editing.
Parameters
State: enumeration Cancel!
Save!
GraphicsLineUseColor
Syntax
GraphicsLineUseColor(State As _GraphicsLineUseColor_State_enum)
Description
Select or deselect the default line-style color for a graphics line. Precede with GraphicsLineCreate() or GraphicsLineEdit() and follow with GraphicsLineEnd().
Parameters
State: enumeration No!
Yes!
GraphicsLineVerticalPosition
Syntax
GraphicsLineVerticalPosition(Position As _GraphicsLineVerticalPosition_Position_enum, [Where As Integer])
Description
Specify the vertical position of a graphics line.
Parameters
Position: enumeration Baseline!
Bottom!
Center!
FullAlign!
Set!
Top!
Where: measurement (optional) The exact position of a graphics line if the Position parameter is Set!.
GraphicsStylesDlg
Syntax
GraphicsStylesDlg()
Description
Display the Graphics Styles dialog box.
Guidelines
Syntax
Guidelines([ShowTableGuides As _Guidelines_ShowTableGuides_enum], [ShowMarginGuides As _Guidelines_ShowMarginGuides_enum], [ShowColumnGuides As _Guidelines_ShowColumnGuides_enum], [ShowHeaderFooterGuides As _Guidelines_ShowHeaderFooterGuides_enum], [EnableGuidesDrag As _Guidelines_EnableGuidesDrag_enum]) As Integer
Description
Show or hide guidelines and return the current state. To return the current state without changing any guideline settings, omit the parameters.
Return Value
If multiple options are on, Guidelines returns a summation of the values for each active option. To check for a specific option, use the return value for the option and the & operator. For example, the expression (4 & Guidelines) evaluates to 4 if column guidelines are on, 0 if not. To check for multiple options, add the return values of the options and use the & operator. To check for margin (2) and header/footer (8) guidelines, add the return values (2+8=10) and use the & operator. For example, the expression (10 & Guidelines) evaluates to 8 if header/footer guidelines are on, 2 if margin guidelines are on, 10 if both are on, 0 if neither are on. See Bitwise Operators.