Insert a bitmap image generated by a scanner into the current drawing or slide show. The computer must have a TWAIN driver installed to use this command.
Parameters
Scale: enumeration (optional) The scaling option.
AreaBounded!
FixedSize!
PageBounded!
Left: numeric (optional) The left coordinate of bounding rectangle.
Bottom: numeric (optional) The bottom coordinate of a bounding rectangle.
Right: numeric (optional) The right coordinate of a bounding rectangle.
Top: numeric (optional) The top coordinate of bounding rectangle.
AcquireImageDlg
Syntax
()
Description
Display the Acquire Image dialog box, which is used to insert a bitmap image from a TWAIN source.
AcquireImageSelect
Syntax
()
Description
Display the Image Source dialog box, which is used to specify a scanner from which to acquire an image. The computer must have a TWAIN driver installed to use this command.
ActivateBoxField
Syntax
(FieldName: string)
Description
Activate a field in an organization chart box to edit it.
Parameters
FieldName: string The field name of the box field to be activated and edited.
Draw an arc or a circle using the Circle, Circular Arc, Ellipse, or Elliptical Arc drawing tool.
Parameters
FillAndFrame: enumeration Specify whether the arc object is open or closed, whether the object outline is on or off, and whether the object fill is on or off.
Both!
ClosedFrame!
Filled!
OpenFrame!
XCenter: measurement The horizontal coordinate for the center of the arc, in WordPerfect units (1200ths of an inch).
YCenter: measurement The vertical coordinate for the center of the arc, in WordPerfect units.
HorizontalRadius: measurement The horizontal coordinate for the radius of an elliptical arc, in Corel WordPerfect units.
VerticalRadius: measurement The vertical coordinate for the radius of an elliptical arc in WordPerfect units.
XInitial: measurement The horizontal coordinate for the point which indicates the starting angle of an arc, in WordPerfect units.
YInitial: measurement The vertical coordinate for the initial point of an arc, in WordPerfect units.
XTerminal: measurement The horizontal coordinate for the point that indicates the ending angle of an arc, in WordPerfect units.
YTerminal: measurement The vertical coordinate for the point that indicates the ending angle of an arc, in WordPerfect units.
ArcFlags: enumeration Indicate how the endpoints of an arc connect.
Center_Connect!
End2End_Connect!
No_Connect!
AddBackground
Syntax
(BackgroundName: string)
Description
Create a new background.
Parameters
BackgroundName: string (optional) The new background name.
AddBackgroundDlg
Syntax
()
Description
Display the New Background dialog box, which is used to create a new background.
AddLayout
Syntax
(LayoutName: string)
Description
Add a new layout to the current slide show master.
Parameters
Parameter Description
LayoutName: string (optional) The new layout name.
AddLayoutDlg
Syntax
()
Description
Display the New Layout dialog box, which is used to add a new layout to the current slide show master.
Draw a curve using the Curve, Closed Curve, Bezier, Freehand, or Arrow drawing tool.
Parameters
FillAndFrame: enumeration Specify whether the curve object is open or closed, whether the object outline is on or off, and whether the object fill is on or off.
Both!
ClosedFrame!
Filled!
OpenFrame!
BasePointCount: numeric The number of base points in the curve. Repeat the next six parameters for each base point, and enclose repeating parameters in braces {}.
XControl1: measurement (optional) The horizontal coordinate of the first control point for a base point of the curve, in WordPerfect units (1200ths of an inch).
YControl1: measurement (optional) The vertical coordinate of the first control point for a base point of the curve, in WordPerfect units.
XBase: measurement (optional) The horizontal coordinate of a base point of the curve, in WordPerfect units.
YBase: measurement (optional) The vertical coordinate of the base point of the curve, in WordPerfect units.
XControl2: measurement (optional) The horizontal coordinate for the second control point for a base point of the curve, in WordPerfect units.
YControl2: measurement (optional) The vertical coordinate of the second control point for a base point of the curve, in WordPerfect units.
Draw a line or a polygon using the Line, Polygon, Rectangle, or Regular Polygon drawing tool.
Parameters
FillAndFrame: enumeration Specify whether the line object is open or closed, whether the object outline is on or off, and whether the object fill is on or off.
Both!
ClosedFrame!
Filled!
OpenFrame!
PointCount: numeric The number of base points in a line. The next two parameters are repeated for each base point. Parameters that can be repeated are enclosed in braces {}.
PointX: measurement (optional) The horizontal coordinate of a base point, in WordPerfect units (1200ths of an inch).
PointY: measurement (optional) The vertical coordinate of a base point, in WordPerfect units.
HeadStyle: enumeration Lets you specify the style of the head.
Flat!
Round!
Square!
Arrow!
ArrowLarge!
ArrowCurved!
ArrowUnfilled!
ArrowLargeUnfilled!
ArrwoOpen!
ArrowLargeOpen!
ArrowCurvedOpen!
Tail!
TailUnfilled!
TailUnfilledLine!
TailFeather!
DotSmall!
DotLarge!
TailStyle: enumeration Lets you specify the style of the tail.
Flat!
Round!
Square!
Arrow!
ArrowLarge!
ArrowCurved!
ArrowUnfilled!
ArrowLargeUnfilled!
ArrwoOpen!
ArrowLargeOpen!
ArrowCurvedOpen!
Tail!
TailUnfilled!
TailUnfilledLine!
TailFeather!
DotSmall!
DotLarge!
PointCount: numeric The number of base points in a line. The next two parameters are repeated for each base point. Parameters that can be repeated are enclosed in braces {}.
PointX: measurement (optional) The horizontal coordinate of a base point, in WordPerfect units (1200ths of an inch).
PointY: measurement (optional) The vertical coordinate of a base point, in WordPerfect units (1200ths of an inch).
FillAndFrame: enumeration Specify whether the object outline is on or off, and whether the object fill is on or off.
Both!
Filled!
Framed!
LeftEdge: measurement Position of the left edge of the elliptical area of a rounded rectangle, in WordPerfect units (1200ths of an inch).
BottonEdge: measurement The position of the botton edge of the elliptical area of a rounded rectangle, in WordPerfect units. (Please note: this is the correct spelling for this parameter.)
RightEdge: measurement Position of the right edge of the elliptical area of a rounded rectangle, in WordPerfect units.
TopEdge: measurement Position of the top edge of the elliptical area of a rounded rectangle, in WordPerfect units.
HorizontalRadius: measurement The horizontal radius of the corner ellipse, in Corel WordPerfect units.
VerticalRadius: measurement The vertical radius of the corner ellipse, in WordPerfect units.
FillAndFrame: enumeration Lets you specify whether the object outline is on or off, and whether the object fill is on or off.
Filled!
Framed!
Both!
LeftEdge: numeric Lets you position the left edge of the shape.
BottonEdge: numeric Lets you position the bottom edge of the shape.
RightEdge: numeric Lets you position the right edge of the shape.
TopEdge: numeric Lets you position the top edge of the shape.
ShapeType: numeric Lets you specify the type of the shape.
GlyphType: numeric Lets you position the type of the glyph.
Glyph1: numeric Lets you specify the first glyph.
Glyph2: numeric Lets you specify the second glyph.
Glyph3: numeric Lets you specify the third glyph.
Glyph4: numeric Lets you specify the fourth glyph.
Shape: enumeration Lets you specify the shape.
Notes
New command
The edges are measured in WordPerfect units. WordPerfect units are measured in 1200ths of an inch.
AddSlide
Syntax
(Count: numeric; TemplateName: string)
Description
Add one or more blank slides to the current slide show. If no parameters are specified, this command adds one slide that has been created using the current template.
Parameters
Count: numeric (optional) The number of slides to add.
TemplateName: string (optional) Name of template.
AddSlideDlg
Syntax
()
Description
Display the New Slide dialog box, which is used to add slides to the current slide show.
LeftEdge: measurement Specify the left edge of a text box, in WordPerfect units (1200ths of an inch.)
BottomEdge: measurement Specify the bottom edge of a text box, in WordPerfect units.
RightEdge: measurement Specify the right edge of a text box, in WordPerfect units.
TopEdge: measurement Specify the top edge of a text box, in WordPerfect units.
AirBrush
Syntax
({X: numeric; Y: numeric})
Description
Use the Air Brush painting tool to create a bitmap object in the Bitmap Editor.
Parameters
X: numeric (optional) The horizontal position of pixels clicked when painting. Repeat the X and Y parameters for each pixel covered, and enclose sets of repeated parameters in braces {}.
Y: numeric (optional) The vertical position of pixels clicked when painting.
AlignCenterLeftRight
Syntax
()
Description
Center a selected object horizontally on the page, or align multiple selected objects with the horizontal center of the selection area.
AlignObjectsBottom
Syntax
()
Description
Align the bottom edge of a selected object with the bottom of the page, or align the bottom edges of multiple selected objects with the bottom edge of the lowest object.
AlignObjectsCenter
Syntax
()
Description
Center a selected object on the page, or align the centers of multiple selected objects with the center of the selection area.
AlignObjectsLeft
Syntax
()
Description
Align the left edge of a selected object with the left edge of the page, or align the left edges of multiple selected objects with the left edge of the leftmost object.
AlignObjectsRight
Syntax
()
Description
Align the right edge of a selected object with the right edge of the page, or align the right edges of multiple selected objects with the right edge of the rightmost object.
AlignObjectsTop
Syntax
()
Description
Align the top edge of a selected object with the top of the page, or align the top edge of multiple selected objects with the top edge of the highest object.
AlignObjectsTopBottom
Syntax
()
Description
Center a selected object vertically on the page, or align multiple selected objects with the vertical center of the selection area.
AlignTextBottom
Syntax
()
Description
Position text from the bottom of an organization chart box.
AlignTextMiddle
Syntax
()
Description
Center text vertically within an organization chart box.
AlignTextTop
Syntax
()
Description
Position text starting from the top of an organization chart box.
ApplicationMaximize
Syntax
()
Description
Maximize the size of an application window. If the window is already maximized, this command terminates the macro or redirects the macro to the LABEL specified by ONERROR.
ApplicationMinimize
Syntax
()
Description
Minimize an application window to an icon. If the window is already minimized, this command terminates the macro or redirects the macro to the LABEL specified by ONERROR.
ApplicationMove
Syntax
()
Description
Pause a macro to allow you to reposition an application window. Click the mouse or press Enter to continue playing the macro. If the window is maximized, this command terminates the macro or redirects the macro to the LABEL specified by ONERROR.
ApplicationRestore
Syntax
()
Description
Restore a window to its previous size. If the window has already been restored, this command terminates the macro and redirects the macro to the LABEL specified by ONERROR.
ApplicationSize
Syntax
()
Description
Pause a macro to allow you to resize a window. Click the mouse or press Enter to continue playing the macro. If the window is maximized, this command terminates the macro or redirects the macro to the LABEL specified by ONERROR.
AssignBackgroundDlg
Syntax
()
Description
Display the Assign Background dialog box, which is used to assign a background to a specified layout.
AssignLayoutBackground
Syntax
(LayoutName: string; BackgroundName: string)
Description
Assign a background to a specified layout.
Parameters
LayoutName: string The layout to link to a background.
BackgroundName: string The background to link to a layout.