WatermarkA(Action As _WatermarkA_Action_enum, [Occurrence As _WatermarkA_Occurrence_enum], [State As _WatermarkA_State_enum])
Description
Create, edit, or turn off Watermark A on the specified pages.
Parameters
Action: enumeration Create!
Edit!
Off!
Occurrence: enumeration (optional) AllPages!
EvenPages!
NoPages!
OddPages!
State: enumeration (optional) NoOverlay!
Overlay!
WatermarkB
Syntax
WatermarkB(Action As _WatermarkB_Action_enum, [Occurrence As _WatermarkB_Occurrence_enum], [State As _WatermarkB_State_enum])
Description
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
WatermarkDlg()
Description
Display the Watermark dialog box in order to create a watermark.
WatermarkNext
Syntax
WatermarkNext()
Description
Go to the next watermark.
WatermarkPlacementDlg
Syntax
WatermarkPlacementDlg()
Description
Display the Pages dialog box to specify the pages on which your watermark will appear.
WatermarkPrev
Syntax
WatermarkPrev()
Description
Go to the previous watermark.
WatermarkShadingDlg
Syntax
WatermarkShadingDlg()
Description
Display the Watermark Shading dialog box.
WatermarkShippingMacro
Syntax
WatermarkShippingMacro()
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
WebActiveLinkColor(Red As Integer, Green As Integer, Blue As Integer)
Description
Set the active hypertext-link color of the active Web document. This method 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.
WebBackgroundColor
Syntax
WebBackgroundColor(Red As Integer, Green As Integer, Blue As Integer)
Description
Set the background color of the active Web document. This method 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.
WebBackgroundImage
Syntax
WebBackgroundImage([Filename As String])
Description
Specify a background image for the active Web document. This method 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
WebBaseURL([URL As String])
Description
Specify the base URL for the active Web document. This method 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
WebBoxHTMLProperties(Properties As 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
WebBoxHTMLPropertiesDlg()()
Description
Display the Box HTML Properties dialog box. Valid only when a graphics box is selected.
WebColorDlg
Syntax
WebColorDlg()
Description
Display the HTML Document Properties (Text/Background color) dialog box.
WebColumnDefineDlg
Syntax
WebColumnDefineDlg()
Description
Specify the number and size of columns.
WebCustomHTMLToggle
Syntax
WebCustomHTMLToggle()
Description
Turn Web Custom HTML on or off.
WebFormsFormPropertiesDlg
Syntax
WebFormsFormPropertiesDlg()
Description
Display the Properties dialog for a form.
WebFormsHiddenDlg
Syntax
WebFormsHiddenDlg()
Description
Display the Properties dialog for a hidden field.
WebFormsListPropertiesDlg
Syntax
WebFormsListPropertiesDlg()
Description
Display the Properties dialog for a selection list.
WebFormsProperties
Syntax
WebFormsProperties()
Description
Edit the properties of the form or form field.
WebFormsRadioPropertiesDlg
Syntax
WebFormsRadioPropertiesDlg()
Description
Display the Properties dialog for a radio button or check box.
WebFormsTextAreaPropertiesDlg
Syntax
WebFormsTextAreaPropertiesDlg()
Description
Display the Properties dialog for a multi-line text field.
WebFormsTextPropertiesDlg
Syntax
WebFormsTextPropertiesDlg()
Description
Display the Properties dialog for a text or password field.
WebInsertCheckBox
Syntax
WebInsertCheckBox()
Description
Insert a check box into the form.
WebInsertForm
Syntax
WebInsertForm()
Description
Create a new Web form.
WebInsertHiddenField
Syntax
WebInsertHiddenField()
Description
Insert a hidden field into the form.
WebInsertPassword
Syntax
WebInsertPassword()
Description
Insert a password field into the form.
WebInsertRadioButton
Syntax
WebInsertRadioButton()
Description
Insert a radio button into the form.
WebInsertResetButton
Syntax
WebInsertResetButton()
Description
Insert a reset button into the form.
WebInsertSelectList
Syntax
WebInsertSelectList()
Description
Insert a selection list into the form.
WebInsertSubmitButton
Syntax
WebInsertSubmitButton()
Description
Insert a submit button into the form.
WebInsertSubmitImage
Syntax
WebInsertSubmitImage()
Description
Insert a submit image into the form.
WebInsertTextArea
Syntax
WebInsertTextArea()
Description
Insert a text area into the form.
WebInsertTextLine
Syntax
WebInsertTextLine()
Description
Insert a text line into the form.
WebJavaCreateApplet
Syntax
WebJavaCreateApplet()
Description
Create a Java applet.
WebJavaModifyApplet
Syntax
WebJavaModifyApplet()
Description
Modify a Java applet.
WebJavaRunApplets
Syntax
WebJavaRunApplets()
Description
View the Java applets that are running.
WebLaunchWebBrowser
Syntax
WebLaunchWebBrowser([Location As 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
WebLinkColor(Red As Integer, Green As Integer, Blue As Integer)
Description
Specify the hypertext-link color of the active Web document. This method 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.
WebMetaTags
Syntax
WebMetaTags(Meta As String)
Description
Specify Meta tags for the active Web document. This method is valid only when WordPerfect is in Web Editor mode.
Parameters
Meta: string
WebMonoToggle
Syntax
WebMonoToggle()
Description
Turn Web Monospaced on or off.
WebNewDlg
Syntax
WebNewDlg()
Description
Display the Select New Web Document dialog box.
WebPublish
Syntax
WebPublish(Filename As String, Server As String, SeperateFrames As _WebPublish_SeperateFrames_enum)
Description
Save the current document in HTML format (*.HTM).
Parameters
Filename: string The path and filename of the HTML document.
WebPublishDlg
Syntax
WebPublishDlg()
Description
Display the Publish to Web dialog box.
WebTableProperties
Syntax
WebTableProperties([TableBordWidth As Integer], [CellBordWidth As Integer], [CellMarginWidth As Integer], [TableWidthType As _WebTableProperties_TableWidthType_enum], [TableWidth As Integer], [TableHeightType As _WebTableProperties_TableHeightType_enum], [TableHeight As Integer], [TablePosition As _WebTableProperties_TablePosition_enum])
Description
Lets you edit the properties of a table in HTML
Parameters
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!
WebTextColor
Syntax
WebTextColor(Red As Integer, Green As Integer, Blue As Integer)
Description
Set the regular-text color of the active Web document. This method 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.
WebTitle
Syntax
WebTitle(Title)
Description
Specify the title for the active Web document. This method is valid only when WordPerfect is in Web Editor mode.
Parameters
Title: any Auto!
WebTitleDlg
Syntax
WebTitleDlg()
Description
Display the Title dialog box for Web documents. This method is valid only when WordPerfect is in Web Editor mode.
WebViewAsHTML
Syntax
WebViewAsHTML()
Description
View the active document using HTML.
WebViewInWebBrowser
Syntax
WebViewInWebBrowser()
Description
Convert the current document to HTML format and view it in a Web browser. This method is valid only if you have a Web browser installed.
WebVisitedLinkColor
Syntax
WebVisitedLinkColor(Red As Integer, Green As Integer, Blue As Integer)
Description
Specify the visited hypertext-link color of the active Web document. This method 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.
WebWallpaper
Syntax
WebWallpaper()
Description
Lets you specify the document colors and the wallpaper image.
WidowOrphan
Syntax
WidowOrphan(State As _WidowOrphan_State_enum)
Description
Turn Widow/Orphan on or off.
Parameters
State: enumeration Off!
On!
WindowCascade
Syntax
WindowCascade()
Description
Overlap document windows to display the title bar of each window.
WindowTile
Syntax
WindowTile()
Description
Arrange all open document windows top to bottom without overlapping them.
WindowTileVertical
Syntax
WindowTileVertical()
Description
Arrange all open document windows side by side without overlapping them.
WordCountDlg
Syntax
WordCountDlg()
Description
Display document information, such as word and page count, and words per sentence.
WordLetterspaceDlg
Syntax
WordLetterspaceDlg()
Description
Display the Word/Letter Spacing dialog box.
WordLetterSpacing
Syntax
WordLetterSpacing(CharacterWidth As _WordLetterSpacing_CharacterWidth_enum, SpaceWidth As _WordLetterSpacing_SpaceWidth_enum)
Description
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
WordSpacingJustificationLimits(Compression As Integer, Expansion As Integer)
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
WP51CursorMovement(State As _WP51CursorMovement_State_enum)
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
WPActivate()
Description
Activate WordPerfect. Use with DDE links to another application.
WPCharactersDlg
Syntax
WPCharactersDlg()
Description
Display the WordPerfect Characters dialog box.
WPDraw
Syntax
WPDraw()
Description
Open WordPerfect Draw.
WPGrammatik
Syntax
WPGrammatik()
Description
Open Grammatik. This product allows you to check grammar and spelling in a document.
WPSpeller
Syntax
WPSpeller()
Description
Display the Spell Checker dialog box.
WPThesaurus
Syntax
WPThesaurus()
Description
Display the Thesaurus dialog box. The Thesaurus allows you to get synonyms, antonymns, definitions, and usages examples for words.
WritingToolsDisable
Syntax
WritingToolsDisable()
Description
Toggle grammar and spell checking on or off at the insertion point or for the selected text. This method inserts a [Writing Tools: Disabled] or [Writing Tools: Enabled] code at the insertion point, depending on the current state.