Display the Page Setup dialog box, which is used to specify a document page color.
PageFormatDlg
Syntax
PageFormatDlg()
Description
Display the Page Setup dialog box, which is used to specify page size, margins, page colors, and save options.
PageMode
Syntax
PageMode()
Description
Display all objects in the drawing or slide.
PageSizeInfo
Syntax
PageSizeInfo()
Description
Display the Page Size dialog box, which is used to set page size, margins, page color, and save options.
PaintBrush
Syntax
PaintBrush([X], [Y])
Description
Activate the Paint Brush 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.
PaintDropMarquee
Syntax
PaintDropMarquee([EndMarquee As _PaintDropMarquee_EndMarquee_enum])
Description
Copy a selected portion of a bitmap area. Precede with PaintMoveMarquee().
Parameters
EndMarquee: enumeration (optional) Turn off select mode for the copied portion.
No
Yes
PaintDropper
Syntax
PaintDropper(X As Integer, Y As Integer, [Color As _PaintDropper_Color_enum])
Description
Activate the Pickup Color painting tool to select a background or foreground color in the Bitmap Editor.
Parameters
X: numeric The horizontal position of pixels clicked when choosing a color.
Y: numeric The vertical position of pixels clicked when choosing a color.
Color: enumeration (optional) The color the paint dropper uses.
Background
Foreground
PaintEraser
Syntax
PaintEraser([X], [Y])
Description
Activate the Eraser painting tool to erase portions of a bitmap object in the Bitmap Editor.
Parameters
X: numeric (optional) The horizontal position of pixels covered when erasing.
Y: numeric (optional) The vertical position of pixels covered when erasing.
PaintEscapeUndo
Syntax
PaintEscapeUndo()
Description
Remove the effects of the most recent editing change in the Bitmap Editor. To add this function to a macro, use BitmapUndo.
PaintMoveMarquee
Syntax
PaintMoveMarquee([DeltaX As Integer], [DeltaY As Integer], [EraseUnder As _PaintMoveMarquee_EraseUnder_enum])
Description
Move a selected bitmap area. Follow with PaintDropMarquee.
Parameters
DeltaX: numeric (optional) The amount of horizontal movement, in pixels.
DeltaY: numeric (optional) The amount of vertical movement, in pixels.
EraseUnder: enumeration (optional) Erase the area beneath the new selection location.
No
Yes
PasteMarquee
Syntax
PasteMarquee()
Description
Retrieve a bitmap object from the Clipboard and insert it into the current drawing.
PasteObject
Syntax
PasteObject([FormatName As String], [Format As Integer], [OleFormat As _PasteObject_OleFormat_enum], [InsertLink As _PasteObject_InsertLink_enum], [InsertIcon As _PasteObject_InsertIcon_enum])
Description
Insert an OLE object from the Clipboard into the current drawing.
Parameters
FormatName: string (optional) The name of the Clipboard format (such as Metafile).
Format: numeric (optional) The Clipboard format ID number. Use only if FormatName is not specified.
OleFormat: enumeration (optional) Insert the Clipboard contents as an OLE object.
No
Yes
InsertLink: enumeration (optional) Insert object as a link. Use only if the Clipboard format is an OLE type.
No
Yes
InsertIcon: enumeration (optional) Display an OLE object as an icon. Use only if the Clipboard format is an OLE type.
No
Yes
PasteSpecialOle20Dlg
Syntax
PasteSpecialOle20Dlg()
Description
Display the Paste Special dialog box, which is used to paste OLE objects from the Clipboard into the current drawing.
PlaySlideShow
Syntax
PlaySlideShow(PlayType As _PlaySlideShow_PlayType_enum, PenSize As Integer, PenRedValue As Integer, PenGreenValue As Integer, PenBlueValue As Integer, SlideNumberStart As Integer, RepeatShow As _PlaySlideShow_RepeatShow_enum, [ShowFormat As _PlaySlideShow_ShowFormat_enum], [ColorFormat As _PlaySlideShow_ColorFormat_enum], [SizeFormat As _PlaySlideShow_SizeFormat_enum])
Description
Play a slide show and specify play options.
Parameters
PlayType: enumeration The type of slide show to play.
CreateQuickFile
CreateWin31Runtime
CreateWin95Runtime
NormalPlay
UseQuickFile
PenSize: numeric The size of the highlighter, in WordPerfect units (1200ths of an inch).
PenRedValue: numeric The highlighter color. Value (0-255).
PenGreenValue: numeric The highlighter color. Value (0-255).
PenBlueValue: numeric The highlighter color. Value (0-255).
SlideNumberStart: numeric The first slide in a slide show.
RepeatShow: enumeration Play the slide show again.
No
Yes
ShowFormat: enumeration (optional) The format for a slide show.
Display the Play Slide Show dialog box, which is used to select play options and to play the current slide show.
PlaySlideShowFirst
Syntax
PlaySlideShowFirst()
Description
Play the current slide show, starting with the first slide.
PointerPosition
Syntax
PointerPosition([State As _PointerPosition_State_enum])
Description
Toggle the display of the pointer position in the status bar.
Parameters
State: enumeration (optional) Pointer position display is on or off.
Off
On
PosterDlg
Syntax
PosterDlg()
Description
Create a poster by enlarging the drawing to print on multiple pages.
PRActivate
Syntax
PRActivate()
Description
Activate the Corel Presentations window.
PrefCustomDlg
Syntax
PrefCustomDlg()
Description
Display the Customize dialog box.
PrefEnvironmentDlg
Syntax
PrefEnvironmentDlg()
Description
Display the Environment dialog box.
PreferenceDateTime
Syntax
PreferenceDateTime(DateTimeString As String)
Description
Specify date and time format.
Parameters
DateTimeString: string The date and time format.
PreferenceDateTimeDlg
Syntax
PreferenceDateTimeDlg()
Description
Display the Date/Time Format dialog box, which is used to specify date and time format preferences.
PreferenceEnvGenDlg
Syntax
PreferenceEnvGenDlg()
Description
Display the General Environment dialog box.
PreferenceEnvironmentDlg
Syntax
PreferenceEnvironmentDlg()
Description
Display the Environment dialog box, which is used to specify environment preferences.
PreferenceEnvLangDlg
Syntax
PreferenceEnvLangDlg()
Description
Display the Language Environment dialog box.
PreferenceFormSettings
Syntax
PreferenceFormSettings(FormWidth As Integer, FormHeight As Integer, MarginLeft As Integer, MarginBottom As Integer, MarginRight As Integer, MarginTop As Integer, Orientation As _PreferenceFormSettings_Orientation_enum)
Description
Specify default page and margin sizes.
Parameters
FormWidth: measurement The page width, in WordPerfect units (1200ths of an inch).
FormHeight: measurement The page height, in WordPerfect units.
MarginLeft: measurement The size of the left margin, in WordPerfect units.
MarginBottom: measurement The size of the bottom margin, in WordPerfect units.
MarginRight: measurement The size of the right margin, in WordPerfect units.
MarginTop: measurement The size of the top margin, in WordPerfect units.
Orientation: enumeration The page orientation.
Landscape
Portrait
PreferenceKeyboardDlg
Syntax
PreferenceKeyboardDlg()
Description
Display the Keyboard Preferences dialog box, which is used to specify a keyboard file.
PreferenceLOFDlg
Syntax
PreferenceLOFDlg()
Description
Display the Location of Files dialog box.
PreferenceMenuDlg
Syntax
PreferenceMenuDlg()
Description
Display the Menu Bar Preferences dialog box, which is used to create and modify menu options.
PreferencePrintDlg
Syntax
PreferencePrintDlg()
Description
Display the Print dialog box, which is used to specify printing preferences.
Note
This command is obsolete.
PreferencePropertyBarDlg
Syntax
PreferencePropertyBarDlg()
Description
Display the Property Bar dialog box.
PreferencesDlg
Syntax
PreferencesDlg()
Description
Display the Preferences dialog box, which is used to set system default options.
PreferenceToolbarDlg
Syntax
PreferenceToolbarDlg()
Description
Display the Toolbar Preferences dialog box, which is used to select and customize toolbars.
PreferenceToolPaletteDlg
Syntax
PreferenceToolPaletteDlg()
Description
Display the Tool Palette dialog box.
PrefLOFDlg
Syntax
PrefLOFDlg()
Description
Display the Location of Files dialog box.
PrintBlackWhite
Syntax
PrintBlackWhite([State As _PrintBlackWhite_State_enum]) As Integer
Description
Set the print black and white option.
Parameters
State: enumeration (optional) False
True
PrintCopies
Syntax
PrintCopies([NumberOfCopies As Integer]) As Integer
Description
Set the number of copies you want to print.
Parameters
NumberOfCopies: numeric (optional) The number of copies to print.
PrintDestination
Syntax
PrintDestination([Destination])
Description
Set the destination for the current print job.
Parameters
Destination: any (optional) The destination for print jobs.
DriverPort
PrintDialog
Syntax
PrintDialog()
Description
Display the Print dialog.
PrintDocTkn
Syntax
PrintDocTkn()
Description
Print the current document.
PrintDocument
Syntax
PrintDocument(CurrentPage As Integer, TotalPages As Integer, NumberOfCopies As Integer, Units As _PrintDocument_Units_enum, BlackWhite As _PrintDocument_BlackWhite_enum, CopiesPrintedBy As _PrintDocument_CopiesPrintedBy_enum, PrintBinding As _PrintDocument_PrintBinding_enum, PrintSource As _PrintDocument_PrintSource_enum, SelectedObjects As Long, DocOnDisk As Long, WhichPage As Integer, PrintOffset As _PrintDocument_PrintOffset_enum, TopAdjust As Integer, SideAdjust As Integer, FileFormat As _PrintDocument_FileFormat_enum, PrinterLongName As Integer, PrinterDriverName As Integer, DeviceName As Integer, FormWidth As Integer, FormHeight As Integer, LeftMargin As Integer, BottomMargin As Integer, RightMargin As Integer, TopMargin As Integer, Mode As _PrintDocument_Mode_enum, HandoutsPerPage As Integer, NotesPerPage As Integer, FirstSlide As Integer, LastSlide As Integer, ViewPrintJob As _PrintDocument_ViewPrintJob_enum, NoBackground As _PrintDocument_NoBackground_enum, SlideTitle As _PrintDocument_SlideTitle_enum, SlideNumber As _PrintDocument_SlideNumber_enum, PrintSlideRange As _PrintDocument_PrintSlideRange_enum, BindingOffset As Integer)
Description
Print the current document.
Parameters
CurrentPage: numeric The page to print.
TotalPages: numeric The total number of pages to print.
NumberOfCopies: numeric The number of copies to print.
Units: enumeration The unit of measurement
IDU_CM
IDU_Inches
IDU_InchesI
IDU_MM
IDU_Points
IDU_WP42
IDU_WPU
BlackWhite: enumeration Print in black-and-white mode.
No
Yes
CopiesPrintedBy: enumeration Generate copies with the printer or the application.
Application
Printer
PrintBinding: enumeration The binding offset.
Left
Top
PrintSource: enumeration The print source.
CurrentPage
DocumentOnDisk
FullDoc
PageRange
PrintHandouts
PrintList
PrintNotes
PrintPreview
PrintSlides
SelectedObjects
SelectedObjects: numeric The number of selected objects.
DocOnDisk: numeric Print a file from a disk.
WhichPage: numeric The pages to print.
PrintOffset: enumeration The binding edge.
BindLeft
BindTop
SideLeft
SideRight
TopDown
TopUp
TopAdjust: numeric The top margin offset.
SideAdjust: numeric The side margin offset.
FileFormat: enumeration The format of the file.
WPG10
WPG20
PrinterLongName: numeric The name of printer.
PrinterDriverName: numeric The name of printer driver.
DeviceName: numeric The name of the printer device.
FormWidth: numeric The paper width in WordPerfect units (1200ths of an inch).
FormHeight: numeric The paper height in WordPerfect units.
LeftMargin: numeric The left margin size in WordPerfect units.
BottomMargin: numeric The bottom margin size in WordPerfect units.
RightMargin: numeric The right margin size in WordPerfect units.
TopMargin: numeric The top margin size in WordPerfect units.
Mode: enumeration The part of the document to print.
Disk
Drawing
Handouts
List
Notes
Slides
HandoutsPerPage: numeric The number of slides to print per page.
NotesPerPage: numeric The number of speaker notes to print per page.
FirstSlide: numeric The number of the first slide to print.
LastSlide: numeric The number of the last slide to print.
ViewPrintJob: enumeration No
Yes
NoBackground: enumeration Print the slide background.
No
Yes
SlideTitle: enumeration Print the slide title.
No
Yes
SlideNumber: enumeration Print the slide number.
No
Yes
PrintSlideRange: enumeration Print a range of slides.
No
Yes
BindingOffset: numeric The print binding offset.
PrintImageBinding
Syntax
PrintImageBinding([Edge As _PrintImageBinding_Edge_enum]) As Integer
Description
Set the print binding for the current print job.
Parameters
Edge: enumeration (optional) The binding edge.
BottomEdge
InsideEdge
LeftEdge
OutsideEdge
RightEdge
TopEdge
PrintImageOffset
Syntax
PrintImageOffset([Offset As Integer]) As Integer
Description
Set the printing offset for the current print job.
Parameters
Offset: numeric (optional) The offset for printing.
PrintInColor
Syntax
PrintInColor(State As _PrintInColor_State_enum) As Integer
Description
Print the current document in color.
Parameters
State: enumeration (optional) Color printing is on or off.
False
True
PrintInReverseOrder
Syntax
PrintInReverseOrder([State As _PrintInReverseOrder_State_enum]) As Integer
Description
Print the current document in reverse order, starting with the last page.
Parameters
State: enumeration (optional) Reverse-order printing is on or off.
False
True
PrintMode
Syntax
PrintMode(Mode As _PrintMode_Mode_enum) As Integer
Description
Set the print mode.
Parameters
Mode: enumeration (optional) The print mode.
AudienceNotes
CurrentView
DocOnDisk
FullDoc
Handouts
SelectedObjects
Slides
SpeakerNotes
PrintNoBackground
Syntax
PrintNoBackground([State As _PrintNoBackground_State_enum]) As Integer
Description
Print the contents of the slide or drawing without the background.
Parameters
State: enumeration (optional) Printing background is on or off.
False
True
PrintRangeFrom
Syntax
PrintRangeFrom([Page As Integer]) As Integer
Description
Set the first page of a multiple-slide print job.
Parameters
Page: numeric (optional) The beginning page of the print job.
PrintRangeTo
Syntax
PrintRangeTo(Page As Integer) As Integer
Description
Specify the last page in a multiple-slide print job.
Parameters
Page: numeric (optional) The ending page of the print job.
PrintResolution
Syntax
PrintResolution([Quality As _PrintResolution_Quality_enum])
Description
Set the resolution for the print job. This will depend on your printer.
Parameters
Quality: enumeration (optional) Low
Medium
High
any:=PrintSelectByName
Syntax
(PrinterName: enumeration)
Description
Select a printer by name.
Parameters
PrinterName: enumeration (optional) The name of printer.
Default
PrintSettings
Syntax
PrintSettings(Action As _PrintSettings_Action_enum, [SettingsName])
Description
Add, delete, update, and use a named print settings macro.
Parameters
Action: enumeration Add
Delete
Update
Use
SettingsName: any (optional) The name of print settings.
Default
DriverSettings
PrintSlideNumber
Syntax
PrintSlideNumber([State As _PrintSlideNumber_State_enum]) As Integer
Description
Print the slide number on your slide.
Parameters
State: enumeration (optional) Printing slide numbers is on or off.
False
True
PrintSlidesPerPage
Syntax
PrintSlidesPerPage([Slides As Integer]) As Integer
Description
Set the number of slides to print on a page.
Parameters
Slides: numeric (optional) The number of slides to print per page.
PrintSlideTitle
Syntax
PrintSlideTitle([State As _PrintSlideTitle_State_enum]) As Integer
Description
Print the slide title on the page.
Parameters
State: enumeration (optional) Printing slide titles is on or off.
False
True
PrintSortOrder
Syntax
PrintSortOrder(Order As _PrintSortOrder_Order_enum) As Integer
Description
Set the printing sort order.
Parameters
Order: enumeration (optional) The order in which to print the pages.
Collate
Group
PrintSourceFilename
Syntax
PrintSourceFilename([Filename As String]) As String
Description
Return the filename source for printing.
Parameters
Filename: string (optional) The filename of the source.
PrintTextAsGraphics
Syntax
PrintTextAsGraphics(State As _PrintTextAsGraphics_State_enum) As Integer
Description
Print text as graphics.
Parameters
State: enumeration (optional) Printing text as graphics is on or off.
False
True
PrintTwoSided
Syntax
PrintTwoSided(Option As _PrintTwoSided_Option_enum) As Integer
Description
Set the two-sided values for printing more than one page.
Parameters
Option: enumeration (optional) Add
Delete
Update
Use
PropertyBarEdit
Syntax
PropertyBarEdit([PropertyBarName As String])
Description
Display the Property Bar editor dialog box.
Parameters
PropertyBarName: string (optional) The name of the property bar to edit.
PublishToActiveX
Syntax
PublishToActiveX()
Description
Publish your slide show to the Internet with Show It!
PublishToPDF
Syntax
PublishToPDF()
Description
Publish a document in the .PDF file format.
PutAttributes
Syntax
PutAttributes()
Description
Apply the current default attributes to selected objects.