Display the About Corel Presentations dialog box, which displays product and license information.
AcquireImage
Syntax
AcquireImage([Scale As _AcquireImage_Scale_enum], [Left As Integer], [Bottom As Integer], [Right As Integer], [Top As Integer])
Description
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 method.
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
AcquireImageDlg()
Description
Display the Acquire Image dialog box, which is used to insert a bitmap image from a TWAIN source.
AcquireImageSelect
Syntax
AcquireImageSelect()
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 method.
ActivateBoxField
Syntax
ActivateBoxField(FieldName As 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.
AddArc
Syntax
AddArc(FillAndFrame As _AddArc_FillAndFrame_enum, XCenter As Integer, YCenter As Integer, HorizontalRadius As Integer, VerticalRadius As Integer, XInitial As Integer, YInitial As Integer, XTerminal As Integer, YTerminal As Integer, ArcFlags As _AddArc_ArcFlags_enum)
Description
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
AddBackground([BackgroundName As String])
Description
Create a new background.
Parameters
BackgroundName: string (optional) The new background name.
AddBackgroundDlg
Syntax
AddBackgroundDlg()
Description
Display the New Background dialog box, which is used to create a new background.
AddLayout
Syntax
AddLayout([LayoutName As String])
Description
Add a new layout to the current slide show master.
Parameters
Parameter Description
LayoutName: string (optional) The new layout name.
AddLayoutDlg
Syntax
AddLayoutDlg()
Description
Display the New Layout dialog box, which is used to add a new layout to the current slide show master.
AddPolyCurve
Syntax
AddPolyCurve(FillAndFrame As _AddPolyCurve_FillAndFrame_enum, BasePointCount As Integer, [XControl1], [YControl1], [XBase], [YBase], [XControl2], [YControl2])
Description
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.
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.
AddPolyLine
Syntax
AddPolyLine(FillAndFrame As _AddPolyLine_FillAndFrame_enum, PointCount As Integer, [PointX], [PointY])
Description
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.
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.
AddPolyLineWithEndCaps
Syntax
AddPolyLineWithEndCaps(HeadStyle As _AddPolyLineWithEndCaps_HeadStyle_enum, TailStyle As _AddPolyLineWithEndCaps_TailStyle_enum, PointCount As Integer, [PointX], [PointY])
Description
Draw a polyline that has end caps.
Parameters
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).
AddRoundedRect
Syntax
AddRoundedRect(FillAndFrame As _AddRoundedRect_FillAndFrame_enum, LeftEdge As Integer, BottomEdge As Integer, RightEdge As Integer, TopEdge As Integer, HorizontalRadius As Integer, VerticalRadius As Integer)
Description
Draw a rounded rectangle.
Parameters
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 bottom 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.
AddShape
Syntax
AddShape(FillAndFrame As _AddShape_FillAndFrame_enum, LeftEdge As Integer, BottomEdge As Integer, RightEdge As Integer, TopEdge As Integer, ShapeType As _AddShape_ShapeType_enum)
Description
Lets you add a shape object to the document.
Parameters
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
The edges are measured in WordPerfect units. WordPerfect units are measured in 1200ths of an inch.
AddSlide
Syntax
AddSlide([Count As Integer], [TemplateName As String])
Description
Add one or more blank slides to the current slide show. If no parameters are specified, this method 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
AddSlideDlg()
Description
Display the New Slide dialog box, which is used to add slides to the current slide show.
AddTextBox
Syntax
AddTextBox(LeftEdge As Integer, BottomEdge As Integer, RightEdge As Integer, TopEdge As Integer)
Description
Create a text area or a text line.
Parameters
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
AirBrush([X], [Y])
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.
Y: numeric (optional) The vertical position of pixels clicked when painting.
AlignCenterLeftRight
Syntax
AlignCenterLeftRight()
Description
Center a selected object horizontally on the page, or align multiple selected objects with the horizontal center of the selection area.
AlignObjectsBottom
Syntax
AlignObjectsBottom()
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
AlignObjectsCenter()
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
AlignObjectsLeft()
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
AlignObjectsRight()
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
AlignObjectsTop()
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
AlignObjectsTopBottom()
Description
Center a selected object vertically on the page, or align multiple selected objects with the vertical center of the selection area.
AlignTextBottom
Syntax
AlignTextBottom()
Description
Position text from the bottom of an organization chart box.
AlignTextMiddle
Syntax
AlignTextMiddle()
Description
Center text vertically within an organization chart box.
AlignTextTop
Syntax
AlignTextTop()
Description
Position text starting from the top of an organization chart box.
ApplicationMaximize
Syntax
ApplicationMaximize()
Description
Maximize the size of an application window. If the window is already maximized, this method terminates the macro or redirects the macro to the LABEL specified by ONERROR.
ApplicationMinimize
Syntax
ApplicationMinimize()
Description
Minimize an application window to an icon. If the window is already minimized, this method terminates the macro or redirects the macro to the LABEL specified by ONERROR.
ApplicationMove
Syntax
ApplicationMove()
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 method terminates the macro or redirects the macro to the LABEL specified by ONERROR.
ApplicationRestore
Syntax
ApplicationRestore()
Description
Restore a window to its previous size. If the window has already been restored, this method terminates the macro and redirects the macro to the LABEL specified by ONERROR.
ApplicationSize
Syntax
ApplicationSize()
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 method terminates the macro or redirects the macro to the LABEL specified by ONERROR.
AssignBackgroundDlg
Syntax
AssignBackgroundDlg()
Description
Display the Assign Background dialog box, which is used to assign a background to a specified layout.
AssignLayoutBackground
Syntax
AssignLayoutBackground(LayoutName As String, BackgroundName As 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.