Create, edit, or turn off Watermark B on the specified pages.
Parameters
Action: enumeration Create!
Edit!
Off!
Occurrence: enumeration (optional) AllPages!
EvenPages!
NoPages!
OddPages!
State: enumeration (optional) NoOverlay!
Overlay!
WatermarkDlg
Syntax
()
Description
Display the Watermark dialog box in order to create a watermark.
WatermarkNext
Syntax
()
Description
Go to the next watermark.
WatermarkPlacementDlg
Syntax
()
Description
Display the Pages dialog box to specify the pages on which your watermark will appear.
WatermarkPrev
Syntax
()
Description
Go to the previous watermark.
WatermarkShadingDlg
Syntax
()
Description
Display the Watermark Shading dialog box.
WatermarkShippingMacro
Syntax
()
Description
Play the shipping macro WATERMRK.WCM to display the Watermark Options dialog box, where you can select Watermark A or B, and graphics or text. If Graphics is selected, the Graphics Watermarks dialog box is displayed with a list of watermarks to preview or insert. If Text is selected, the Watermark Creation Macro dialog box is displayed when you enter watermark text to insert. WATERMARK.WCM must be installed.
WebActiveLinkColor
Syntax
(Red: numeric; Green: numeric; Blue: numeric)
Description
Set the active hypertext-link color of the active Web document. This command is valid only when WordPerfect is in Web Editor mode.
Parameters
Red: numeric Value: 0-255.
Green: numeric Value: 0-255.
Blue: numeric Value: 0-255.
numeric:=WebActiveLinkColorBlue
Syntax
()
Description
Return the blue value of the active hypertext-link color for the active Web document. If the active document is not a Web document, the blue value of the default active hypertext-link color for Web documents is returned.
Return Value
Value: 0-255.
numeric:=WebActiveLinkColorGreen
Syntax
()
Description
Return the green value of the active hypertext-link color for the active Web document. If the current document is not a Web document, the green value of the default active hypertext-link color for Web documents is returned.
Return Value
Value: 0-255.
numeric:=WebActiveLinkColorRed
Syntax
()
Description
Return the red value of the active hypertext-link color for the active Web document. If the current document is not a Web document, the red value of the default active hypertext-link color for Web documents is returned.
Return Value
Value: 0-255.
WebBackgroundColor
Syntax
(Red: numeric; Green: numeric; Blue: numeric)
Description
Set the background color of the active Web document. This command is valid only when WordPerfect is in Web Editor mode.
Parameters
Red: numeric Value: 0-255.
Green: numeric Value: 0-255.
Blue: numeric Value: 0-255.
numeric:=WebBackgroundColorBlue
Syntax
()
Description
Return the blue value of the background color for the active Web document. If the active document is not a Web document, the blue value of the default background color for Web documents is returned.
Return Value
Value: 0-255.
numeric:=WebBackgroundColorGreen
Syntax
()
Description
Return the green value of the background color for the active Web document. If the active document is not a Web document, the green value of the default background color for Web documents is returned.
Return Value
Value: 0-255.
numeric:=WebBackgroundColorRed
Syntax
()
Description
Return the red value of the background color for the active Web document. If the active document is not a Web document, the red value of the default background color for Web documents is returned.
Return Value
Value: 0-255.
WebBackgroundImage
Syntax
(Filename: string)
Description
Specify a background image for the active Web document. This command is valid only when WordPerfect is in Web Editor mode.
Parameters
Filename: string The filename of the image you want to use as a page background.
WebBaseURL
Syntax
(URL: string)
Description
Specify the base URL for the active Web document. This command is valid only when WordPerfect is in Web Editor mode.
Parameters
URL: string The URL to use as the base for the current Web document.
WebBoxHTMLProperties
Syntax
(Properties: string)
Description
Specify the HTML properties of the active box. Precede with BoxCreate or BoxEdit and end with BoxEnd.
Parameters
Properties: string The properties of the current box.
WebBoxHTMLPropertiesDlg
Syntax
()
Description
Display the Box HTML Properties dialog box. Valid only when a graphics box is selected.
WebColorDlg
Syntax
()
Description
Display the HTML Document Properties (Text/Background color) dialog box.
WebColumnDefineDlg
Syntax
()
Description
Specify the number and size of columns.
WebCustomHTMLToggle
Syntax
()
Description
Turn Web Custom HTML on or off.
WebFormsFormPropertiesDlg
Syntax
()
Description
Display the Properties dialog for a form.
WebFormsHiddenDlg
Syntax
()
Description
Display the Properties dialog for a hidden field.
WebFormsListPropertiesDlg
Syntax
()
Description
Display the Properties dialog for a selection list.
WebFormsProperties
Syntax
()
Description
Edit the properties of the form or form field.
WebFormsRadioPropertiesDlg
Syntax
()
Description
Display the Properties dialog for a radio button or check box.
WebFormsTextAreaPropertiesDlg
Syntax
()
Description
Display the Properties dialog for a multi-line text field.
WebFormsTextPropertiesDlg
Syntax
()
Description
Display the Properties dialog for a text or password field.
WebInsertCheckBox
Syntax
()
Description
Insert a check box into the form.
WebInsertForm
Syntax
()
Description
Create a new Web form.
WebInsertHiddenField
Syntax
()
Description
Insert a hidden field into the form.
WebInsertPassword
Syntax
()
Description
Insert a password field into the form.
WebInsertRadioButton
Syntax
()
Description
Insert a radio button into the form.
WebInsertResetButton
Syntax
()
Description
Insert a reset button into the form.
WebInsertSelectList
Syntax
()
Description
Insert a selection list into the form.
WebInsertSubmitButton
Syntax
()
Description
Insert a submit button into the form.
WebInsertSubmitImage
Syntax
()
Description
Insert a submit image into the form.
WebInsertTextArea
Syntax
()
Description
Insert a text area into the form.
WebInsertTextLine
Syntax
()
Description
Insert a text line into the form.
WebJavaCreateApplet
Syntax
()
Description
Create a Java applet.
WebJavaModifyApplet
Syntax
()
Description
Modify a Java applet.
WebJavaRunApplets
Syntax
()
Description
View the Java applets that are running.
WebLaunchWebBrowser
Syntax
(Location: string)
Description
Call the Web browser and go to the specified location.
Parameters
Location: string (optional) The location (URL address) to go to. This is sometimes called an Internet address, Web address, or Web site. If no address is specified, the Corel Corporation URL is used.
WebLinkColor
Syntax
(Red: numeric; Green: numeric; Blue: numeric)
Description
Specify the hypertext-link color of the active Web document. This command is valid only when WordPerfect is in Web Editor mode.
Parameters
Red: numeric Value: 0-255.
Green: numeric Value: 0-255.
Blue: numeric Value: 0-255.
numeric:=WebLinkColorBlue
Syntax
()
Description
Return the blue value of the hypertext-link color for the active Web document. If the current document is not a Web document, the blue value of the default hypertext-link color for Web documents is returned.
Return Value
Value: 0-255.
numeric:=WebLinkColorGreen
Syntax
()
Description
Return the green value of the hypertext-link color for the active Web document. If the current document is not a Web document, the green value of the default hypertext-link color for Web documents is returned.
Return Value
Value: 0-255.
numeric:=WebLinkColorRed
Syntax
()
Description
Return the red value of the hypertext-link color for the active Web document. If the current document is not a Web document, the red value of the default hypertext-link color for Web documents is returned.
Return Value
Value: 0-255.
WebMetaTags
Syntax
(Meta: string)
Description
Specify Meta tags for the active Web document. This command is valid only when WordPerfect is in Web Editor mode.
Parameters
Meta: string
WebMonoToggle
Syntax
()
Description
Turn Web Monospaced on or off.
WebNewDlg
Syntax
()
Description
Display the Select New Web Document dialog box.
WebPublish
Syntax
(Filename: string)
Description
Save the current document in HTML format (.HTM).
Parameters
Filename: string The path and filename of the HTML document.
TableBordWidth: numeric (optional) The width of the border of the table
CellBordWidth: numeric (optional) The width of the border of the cell
CellMarginWidth: numeric (optional) The width of the margin of the cell
TableWidthType: enumeration (optional) NotSet!
WPUs!
Pixels!
Percent!
TableWidth: numeric (optional) The width of the table
TableHeightType: enumeration (optional) NotSet!
WPUs!
Pixels!
Percent!
TableHeight: numeric (optional) The height of the table
TablePosition: enumeration (optional) Top!
Center!
Bottom!
Note
New command
WebTextColor
Syntax
(Red: numeric; Green: numeric; Blue: numeric)
Description
Set the regular-text color of the active Web document. This command is valid only when WordPerfect is in Web Editor mode.
Parameters
Red: numeric Value: 0-255.
Green: numeric Value: 0-255.
Blue: numeric Value: 0-255.
numeric:=WebTextColorBlue
Syntax
()
Description
Return the blue value of the text color for the active Web document. If the current document is not a Web document, the blue value of the default text color for Web documents is returned.
Return Value
Value: 0-255.
numeric:=WebTextColorGreen
Syntax
()
Description
Return the green value of the text color for the active Web document. If the current document is not a Web document, the green value of the default text color for Web documents is returned.
Return Value
Value: 0-255.
numeric:=WebTextColorRed
Syntax
()
Description
Return the red value of the text color for the active Web document. If the current document is not a Web document, the red value of the default text color for Web documents is returned.
Return Value
Value: 0-255.
WebTitle
Syntax
(Title: any)
Description
Specify the title for the active Web document. This command is valid only when WordPerfect is in Web Editor mode.
Parameters
Title: any Auto!
WebTitleDlg
Syntax
()
Description
Display the Title dialog box for Web documents. This command is valid only when WordPerfect is in Web Editor mode.
WebViewAsHTML
Syntax
()
Description
View the active document using HTML.
WebViewInWebBrowser
Syntax
()
Description
Convert the current document to HTML format and view it in a Web browser. This command is valid only if you have a Web browser installed.
WebVisitedLinkColor
Syntax
(Red: numeric; Green: numeric; Blue: numeric)
Description
Specify the visited hypertext-link color of the active Web document. This command is valid only when WordPerfect is in Web Editor mode.
Parameters
Red: numeric Value: 0-255.
Green: numeric Value: 0-255.
Blue: numeric Value: 0-255.
numeric:=WebVisitedLinkColorBlue
Syntax
()
Description
Return the blue value of the visited hypertext-link color for the active Web document. If the current document is not a Web document, the blue value of the default visited hypertext-link color for Web documents is returned.
Return Value
Value: 0-255.
numeric:=WebVisitedLinkColorGreen
Syntax
()
Description
Return the green value of the visited hypertext-link color for the active Web document. If the current document is not a Web document, the green value of the default visited hypertext-link color for Web documents is returned.
Return Value
Value: 0-255.
numeric:=WebVisitedLinkColorRed
Syntax
()
Description
Return the red value of the visited hypertext-link color for the active Web document. If the current document is not a Web document, the red value of the default visited hypertext-link color for Web documents is returned.
Return Value
Value: 0-255.
WebWallpaper
Syntax
()
Description
Lets you specify the document colors and the wallpaper image.
Note
New command
WidowOrphan
Syntax
(State: enumeration)
Description
Turn Widow/Orphan on or off.
Parameters
State: enumeration Off!
On!
WindowCascade
Syntax
()
Description
Overlap document windows to display the title bar of each window.
WindowTile
Syntax
()
Description
Arrange all open document windows top to bottom without overlapping them.
WindowTileVertical
Syntax
()
Description
Arrange all open document windows side by side without overlapping them.
WordCountDlg
Syntax
()
Description
Display document information, such as word and page count, and words per sentence.
Specify the display spacing between words and letters. Normal: recommended by font manufacturer. Optimal: recommended by WordPerfect.
Parameters
CharacterWidth: enumeration The spacing between words. Use a number to specify a percent of the Optimal! default.
Maximum!
Normal!
Optimal!
SpaceWidth: enumeration The spacing between letters. Use a number to specify a percent of the Optimal! default.
Maximum!
Normal!
Optimal!
WordSpacingJustificationLimits
Syntax
(Compression: numeric; Expansion: numeric)
Description
Adjust the spacing between words when Full justification is on. When a word-spacing limit is reached, character spacing begins.
Parameters
Compression: numeric The minimum percent.
Expansion: numeric The maximum percent.
WP51CursorMovement
Syntax
(State: enumeration)
Description
Turn WordPerfect 5.1 for DOS cursor movement on or off. When WordPerfect 5.1 cursor movement is on, the insertion point moves through codes as if Reveal Codes were on, regardless of the state of Reveal Codes.
Parameters
State: enumeration Off!
On!
WPActivate
Syntax
()
Description
Activate WordPerfect. Use with DDE links to another application.
WPCharactersDlg
Syntax
()
Description
Display the WordPerfect Characters dialog box.
WPDraw
Syntax
()
Description
Open WordPerfect Draw.
WPGrammatik
Syntax
()
Description
Open Grammatik. This product allows you to check grammar and spelling in a document.
WPSpeller
Syntax
()
Description
Display the Spell Checker dialog box.
WPThesaurus
Syntax
()
Description
Display the Thesaurus dialog box. The Thesaurus allows you to get synonyms, antonymns, definitions, and usages examples for words.
WritingToolsDisable
Syntax
()
Description
Toggle grammar and spell checking on or off at the insertion point or for the selected text. This command inserts a [Writing Tools: Disabled] or [Writing Tools: Enabled] code at the insertion point, depending on the current state.