Open the Background Editor, which allows you to edit the background layer of a slide.
EditLayouts
Syntax
EditLayouts()
Description
Open the Layout Editor, which allows you to edit the layout layer of a slide.
EditOleObject
Syntax
EditOleObject()
Description
Modify a selected OLE object.
EditSelectedBitmap
Syntax
EditSelectedBitmap()
Description
Open the Bitmap Editor to edit a selected bitmap object.
EditSlides
Syntax
EditSlides()
Description
Return from the Layout Layer or Background Layer to the Slide Layer.
EndOfLine
Syntax
EndOfLine()
Description
Move the insertion point to the end of the current line of text.
EndOfSentenceSpacing
Syntax
EndOfSentenceSpacing(Type As _EndOfSentenceSpacing_Type_enum)
Description
Specify an end of sentence correction type in QuickCorrect.
Parameters
Type: enumeration The type of spacing at sentence ends.
None
OneToTwo
TwoToOne
EnvSpeedLinkNumericData
Syntax
EnvSpeedLinkNumericData(SpecifyData As _EnvSpeedLinkNumericData_SpecifyData_enum) As Long
Description
Query numeric data from the SpeedLink.
EnvSpeedLinkSelect
Syntax
EnvSpeedLinkSelect(SpecifyLink As _EnvSpeedLinkSelect_SpecifyLink_enum) As Long
Description
Select an object with an SpeedLink and return the SpeedLink type.
EnvSpeedLinkStringData
Syntax
EnvSpeedLinkStringData(SpecifyData As _EnvSpeedLinkStringData_SpecifyData_enum) As String
Description
Return the string data associated with the selected SpeedLink.
EnvBackgroundTitle
Syntax
EnvBackgroundTitle() As String
Description
Return the name of the current background.
EnvCapBeginSentence
Syntax
EnvCapBeginSentence() As Long
Description
Automatically capitalize the first letter of the first word in a sentence.
Return Value
0 Off
1 On
EnvChartDataWin
Syntax
EnvChartDataWin() As Long
Description
Return Value
0 Not displayed
1 Displayed
EnvChartDisplay
Syntax
EnvChartDisplay(Object As _EnvChartDisplay_Object_enum, Subtype As _EnvChartDisplay_SubType_enum) As Long
Description
Display or hide elements of a chart.
Return Value
0 Not displayed
1 Displayed
Parameters
Object: enumeration Frames
GridMajor
GridMinor
Labels
Legend
TextBoxes
TickMajor
TickMinor
Titles
SubType: enumeration Back
Bottom
Data
Front
Left
Legend
Pie
Radial
Right
SubTitle
Title
Top!
X
Y1
Y2
EnvChartType
Syntax
EnvChartType() As Long
Description
Specify a default chart type.
Return Value
0 None
1 Bar
2 Line
3 Scatter
4 High/Low
5 Mixed
6 Surface
7 Table
8 Pie
9 Radar
EnvColorPalette
Syntax
EnvColorPalette(Seperation As _EnvColorPalette_Seperation_enum, Index As Integer) As Long
Description
Specify a default color palette.
Return Value
Color value(0-255)
Parameters
Separation: enumeration The color component.
Blue
Green
Red
Index: numeric Specify a color by index number.
EnvCurrentBackgroundNumber
Syntax
EnvCurrentBackgroundNumber() As Long
Description
Return the number of the current background.
EnvCurrentFilename
Syntax
EnvCurrentFilename() As String
Description
Return Value
Filename
EnvCurrentLayoutNumber
Syntax
EnvCurrentLayoutNumber() As Long
Description
Return the number of the current layout.
EnvCurrentMode
Syntax
EnvCurrentMode() As Long
Description
Return the current editing mode.
Return Value
When more than one editing mode is active, the return value is the sum of the numbers for each active mode.
1 Drawing
2 Slide
4 Slide list
16 Slide sort
32 Background edit
64 Layout edit
128 Data chart
256 Organization chart
512 Text edit and slide outline
1024 Paint
2048 OLE drawing
4096 OLE data chart
EnvCurrentSlideNumber
Syntax
EnvCurrentSlideNumber() As Long()
Description
Return the current slide number.
EnvCurrentTool
Syntax
EnvCurrentTool() As Long()
Description
Return the current drawing tool.
Return Value
0 No tool selected
1 Select
2 Data chart
3 Organization chart
4 Bullet chart
5 QuickArt
6 Text line
7 Line
8 Curve
9 Closed curve
10 Polygon
11 Regular polygon
12 Rectangle
13 Rounded rectangle
14 Ellipse
15 Elliptical arc
16 Circle
17 Circular arc
18 Arrow
19 Bezier
20 Freehand
21 Bitmap
22 Paintbrush
23 Airbrush
24 Floodfill
25 Paint dropper
26 Selective replace
27 Eraser
28 Select area
29 Bitmap zoom
30 Aquire image
31 Text box
EnvDoubleSmartQuoteClose
Syntax
EnvDoubleSmartQuoteClose() As String
Description
Return the current double close SmartQuote in QuickCorrect.
EnvDoubleSmartQuoteOpen
Syntax
EnvDoubleSmartQuoteClose() As String
Description
Return the current double open SmartQuote in QuickCorrect.
EnvDoubleSmartQuoteState
Syntax
EnvDoubleSmartQuoteOpen() As String
Description
Return the current double SmartQuote in QuickCorrect.
Return Value
0 Off
1 On
EnvEndOfSentenceSpacing
Syntax
EnvEndOfSentenceSpacing() As Long
Description
Return the current value of end of sentence spacing in QuickCorrect.
Return Value
0 Off
1 On
EnvFormInfo
Syntax
EnvFormInfo(DataType As _EnvFormInfo_DataType_enum) As Long
Description
Return information about the current form.
EnvGetCurrentPrinter
Syntax
EnvGetCurrentPrinter() As String
Description
Return the name of the currently selected printer as a Corel WordPerfect string.
Return Value
String
EnvGetMarqueeHeight
Syntax
EnvGetMarqueeHeight() As Long
Description
Return the bitmap marquee height.
EnvGetMarqueeWidth
Syntax
EnvGetMarqueeWidth() As Long
Description
Return the bitmap marquee width.
EnvGetMarqueeXPos
Syntax
EnvGetMarqueeXPos() As Long
Description
Return the bitmap marquee upper left X position.
EnvGetMarqueeYPos
Syntax
EnvGetMarqueeYPos() As Long
Description
Return the bitmap marquee upper left Y position.
EnvGetObjectHeight
Syntax
EnvGetObjectHeight() As Long
Description
Return the height of the selected object.
EnvGetObjectWidth
Syntax
EnvGetObjectWidth() As Long
Description
Return the width of the selected object.
EnvGetObjectXPos
Syntax
EnvGetObjectXPos() As Long
Description
Return the selected object's left X position.
EnvGetObjectYPos
Syntax
EnvGetObjectYPos() As Long
Description
Return the selected object's left Y position.
EnvGetPointerPositionX
Syntax
EnvGetPointerPositionX() As Long
Description
Return the cursor x position.
EnvGetPointerPositionY
Syntax
EnvGetPointerPositionY() As Long
Description
Return the cursor y position.
EnvIrregularCap
Syntax
EnvIrregularCap() As Long
Description
Return the current state of irregular capitalization corrections in QuickCorrect.
Return Value
0 Off
1 On
EnvIsCommandValid
Syntax
EnvIsCommandValid(Command As Integer) As Long
Description
Return the macro command name.
Return Value
0 Not valid
1 Valid
Parameters
Command: command name The macro command name.
EnvIsSlideSkipped
Syntax
EnvIsSlideSkipped() As Long
Description
Determine if a slide has been set to skip.
EnvLayoutTitle
Syntax
EnvLayoutTitle() As String
Description
Return the title of the current layout.
EnvLeftChar
Syntax
EnvLeftChar() As String
Description
Return the character to the left of the insertion point.
EnvNextFontFace
Syntax
EnvNextFontFace(Initialize As _EnvNextFontFace_Initialize_enum)
Description
Return the name of the next font on the font list.
EnvNumberOfBackgrounds
Syntax
EnvNumberOfBackgrounds() As Long
Description
Return the total number of backgrounds.
EnvNumberOfDocuments
Syntax
EnvNumberOfDocuments() As Long
Description
Return the number of open documents.
EnvNumberOfLayouts
Syntax
EnvNumberOfLayouts() As Long
Description
Return the total number of layouts.
EnvNumberOfSlides
Syntax
EnvNumberOfSlides() As Long
Description
Return the number of slides in the current slide show.
EnvOpenDocuments
Syntax
EnvOpenDocuments() As String
Description
Return the path and filename of each open document.
EnvPaths
Syntax
EnvPaths(PathType As _EnvPaths_PathType_enum) As String
Description
Return the default path for the specified file type.
Return Value
Default path for the specified file type.
Parameters
PathType: enumeration The file type.
Backgrounds
Backup
ButtonBar
CurrentFile
ExpressShow
Figures
Filters
HelpFile
Macros
Masters
Movies
Palettes
Pictures
Presentations
Program
QuickGalleries
Shared
Sound
SpellMain
SpellSupp
Textures
Utilities
EnvQuickCorrect
Syntax
EnvQuickCorrect() As Long
Description
Return whether QuickCorrect is on or off.
Return Value
0 Off
1 On
EnvRightChar
Syntax
EnvRightChar() As String
Description
Return the character to the right of the insertion point.
EnvSelectedText
Syntax
EnvSelectedText() As String
Description
Return the selected text with all codes removed except hard returns.
EnvSingleSmartQuoteClose
Syntax
EnvSingleSmartQuoteClose() As String
Description
Return the current single close quote in QuickCorrect.
EnvSingleSmartQuoteOpen
Syntax
EnvSingleSmartQuoteOpen() As String
Description
Return the current single open quote in QuickCorrect.
EnvSingleSmartQuoteState
Syntax
EnvSingleSmartQuoteState() As Long
Description
Return the current state of single SmartQuotes in QuickCorrect.
Return Value
0 Off
1 ON
EnvSingleSpaceInSentence
Syntax
EnvSingleSpaceInSentence() As Long
Description
Return the current value of single space in a sentence in QuickCorrect.
Return Value
0 Off
1 On
EnvSlideStringData
Syntax
EnvSlideStringData(SpecifyData As _EnvSlideStringData_SpecifyData_enum) As String
Description
Return the name of the sound file associated with the slide.
EnvSlideTitle
Syntax
EnvSlideTitle() As String
Description
Return the title of the current slide.
EnvSpeakerNotes
Syntax
EnvSpeakerNotes() As String
Description
Return the speaker notes for the current slide in Corel WordPerfect word string format.
EnvTemplate
Syntax
EnvTemplate() As String
Description
Return the name of the current slide template.
EnvTextChartType
Syntax
EnvTextChartType() As Long
Description
Return the default text chart element.
Return Value
2 Text Box
3 Title Chart
4 Subtitle
5 Bulleted List
EnvUseRegQuotesWithNumbers
Syntax
EnvUseRegQuotesWithNumbers() As Long
Description
Return the current state of Use Regular Quotes with Numbers in QuickCorrect.
Return Value
0 Off
1 On
EraseMarquee
Syntax
EraseMarquee()
Description
Delete a selected portion of a bitmap.
ExportBMP
Syntax
ExportBMP(Filename As String, WidthInPixels As Integer, HeightInPixels As Integer, BitsPerPixel As Integer, Compression As _ExportBMP_Compression_enum, DpiX As Integer, DpiY As Integer, SaveSelected As _ExportBMP_SaveSelected_enum)
Description
Save the current drawing or slide in Windows Bitmap 3.0 format (.BMP).
Parameters
Filename: string The BMP filename.
WidthInPixels: numeric The width in pixels of the exported drawing.
HeightInPixels: numeric The height in pixels of the exported drawing.
BitsPerPixel: numeric The number of bits per pixel in the exported drawing.
Compression: enumeration Compress the exported drawing.
Compress4Bit
Compress8Bit
NoCompression
DpiX: numeric The number of horizontal dots per inch.
DpiY: numeric The number of vertical dots per inch.
SaveSelected: enumeration Save the selected objects only.
No
Yes
ExportCAL
Syntax
ExportCAL(Filename As String, WidthInPixels As Integer, HeightInPixels As Integer, BitsPerPixel As Integer, DpiX As Integer, DpiY As Integer, SaveSelected As _ExportCAL_SaveSelected_enum)
Description
Save the current drawing or slide in CALS Compressed Bitmap format (.CAL).
Parameters
Filename: string The filename of the exported file.
WidthInPixels: numeric The width in pixels of the exported drawing.
HeightInPixels: numeric The height in pixels of the exported drawing.
BitsPerPixel: numeric The number of bits per pixel in the exported drawing.
DpiX: numeric The number of horizontal dots per inch.
DpiY: numeric The number of vertical dots per inch.
SaveSelected: enumeration Save the selected objects only.
No
Yes
ExportCGM
Syntax
ExportCGM(Filename As String, SaveSelected As _ExportCGM_SaveSelected_enum)
Description
Save the current drawing or slide in Computer Graphics Metafile file format (.CGM).
Parameters
Filename: string The CGM filename.
SaveSelected: enumeration Save the selected objects only.
No
Yes
ExportCPT
Syntax
ExportCPT(Filename As String, WidthInPixels As Integer, HeightInPixels As Integer, BitsPerPixel As Integer, DpiX As Integer, DpiY As Integer, SaveSelected As _ExportCPT_SaveSelected_enum)
Description
Save the current drawing or slide as a Corel PHOTO-PAINT bitmap image (.CPT).
Parameters
Filename: string The filename of the exported file.
WidthInPixels: numeric The width in pixels of the exported drawing.
HeightInPixels: numeric The height in pixels of the exported drawing.
BitsPerPixel: numeric The number of bits per pixel in the exported drawing.
DpiX: numeric The number of horizontal dots per inch.
DpiY: numeric The number of vertical dots per inch.
SaveSelected: enumeration Save the selected objects only.
No
Yes
ExportCPT7
Syntax
ExportCPT7(Filename As String, WidthInPixels As Integer, HeightInPixels As Integer, BitsPerPixel As Integer, DpiX As Integer, DpiY As Integer, SaveSelected As _ExportCPT7_SaveSelected_enum
Description
Save as a Corel PHOTO-PAINT version 7 bitmap.
Parameters
Filename: string The name of the file to save.
WidthInPixels: numeric The width in pixels of the exported drawing.
HeightInPixels: numeric The height in pixels of the exported drawing.
BitsPerPixel: numeric The number of memory bits for each pixel.
DpiX: numeric The number of horizontal dots per inch.
DpiY: numeric The number of vertical dots per inch.
SaveSelected: enumeration Save the selected objects only.
NO
YES
ExportEMF
Syntax
ExportEMF(Filename As String, SaveSelected As _ExportEMF_SaveSelected_enum)
Description
Save the current drawing or slide in Enhanced Metafile format (.EMF).
Parameters
Filename: string The name of the file to save.
SaveSelected: enumeration Save the selected objects only.
No
Yes
ExportEPS
Syntax
ExportEPS(Filename As String, SaveSelected As _ExportEPS_SaveSelected_enum)
Description
Save the current drawing or slide in Encapsulated PostScript file format (.EPS).
Parameters
Filename: string The EPS filename.
SaveSelected: enumeration Save the selected objects only.
No
Yes
ExportGIF
Syntax
ExportGIF(Filename As String, WidthInPixels As Integer, HeightInPixels As Integer, BitsPerPixel As Integer, DpiX As Integer, DpiY As Integer, TransparencyIndex As Integer, SaveSelected As _ExportGIF_SaveSelected_enum, [Interlaced As _ExportGIF_Interlaced_enum])
Description
Save the current drawing or slide in CompuServe GIF format.
Parameters
Filename: string The GIF filename.
WidthInPixels: numeric The width in pixels of the exported drawing.
HeightInPixels: numeric The height in pixels of the exported drawing.
BitsPerPixel: numeric The number of bits per pixel in the exported drawing.
DpiX: numeric The number of horizontal dots per inch.
DpiY: numeric The number of vertical dots per inch.
TransparencyIndex: numeric The amount of shading.
SaveSelected: enumeration Save the selected objects only.
No
Yes
Interlaced: enumeration (optional) No
Yes
ExportIMG
Syntax
ExportIMG(Filename As String, WidthInPixels As Integer, HeightInPixels As Integer, BitsPerPixel As Integer, DpiX As Integer, DpiY As Integer, SaveSelected As _ExportIMG_SaveSelected_enum)
Description
Save the current drawing or slide in GEM Paint File format (.IMG).
Parameters
Filename: string The IMG filename.
WidthInPixels: numeric The width in pixels of the exported drawing.
HeightInPixels: numeric The height in pixels of the exported drawing.
BitsPerPixel: numeric The number of bits per pixel in the exported drawing.
DpiX: numeric The number of horizontal dots per inch.
DpiY: numeric The number of vertical dots per inch.
SaveSelected: enumeration Save the selected objects only.
No
Yes
ExportJPG
Syntax
ExportJPG(Filename As String, WidthInPixels As Integer, HeightInPixels As Integer, BitsPerPixel As Integer, DpiX As Integer, DpiY As Integer, SaveSelected As _ExportJPG_SaveSelected_enum)
Description
Save the current drawing or slide in JPEG Bitmap format (.JPG).
Parameters
Filename: string The JPG filename.
WidthInPixels: numeric The width in pixels of the exported drawing.
HeightInPixels: numeric The height in pixels of the exported drawing.
BitsPerPixel: numeric The number of bits per pixel in the exported drawing.
DpiX: numeric The number of horizontal dots per inch.
DpiY: numeric The number of vertical dots per inch.
SaveSelected: enumeration Save the selected objects only.
No
Yes
ExportMAC
Syntax
ExportMAC(Filename As String, WidthInPixels As Integer, HeightInPixels As Integer, BitsPerPixel As Integer, DpiX As Integer, DpiY As Integer, SaveSelected As _ExportMAC_SaveSelected_enum)
Description
Save the current drawing or slide in MacPaint Bitmap format.
Parameters
Filename: string The MAC filename.
WidthInPixels: numeric The width in pixels of the exported drawing.
HeightInPixels: numeric The height in pixels of the exported drawing.
BitsPerPixel: numeric The number of bits per pixel in the exported drawing.
DpiX: numeric The number of horizontal dots per inch.
DpiY: numeric The number of vertical dots per inch.
SaveSelected: enumeration Save the selected objects only.
No
Yes
ExportPCX
Syntax
ExportPCX(Filename As String, WidthInPixels As Integer, HeightInPixels As Integer, BitsPerPixel As Integer, DpiX As Integer, DpiY As Integer, SaveSelected As _ExportPCX_SaveSelected_enum)
Description
Save the current drawing or slide in PC Paintbrush file format.
Parameters
Filename: string The PCX filename.
WidthInPixels: numeric The width in pixels of the exported drawing.
HeightInPixels: numeric The height in pixels of the exported drawing.
BitsPerPixel: numeric The number of bits per pixel in the exported drawing.
DpiX: numeric The number of horizontal dots per inch.
DpiY: numeric The number of vertical dots per inch.
SaveSelected: enumeration Save the selected objects only.
No
Yes
ExportPNG
Syntax
ExportPNG(Filename As String, WidthInPixels As Integer, HeightInPixels As Integer, BitsPerPixel As Integer, DpiX As Integer, DpiY As Integer, SaveSelected As _ExportPNG_SaveSelected_enum)
Description
Save file in PNG format.
Parameters
Filename: string The PNG filename
WidthInPixels: numeric The width in pixels of the exported drawing.
HeightInPixels: numeric The height in pixels of the exported drawing.
BitsPerPixel: numeric The number of bits per pixel in the exported drawing.
DpiX: numeric The number of horizontal dots per inch.
DpiY: numeric The number of vertical dots per inch.
SaveSelected: enumeration Save the selected objects only.
No
Yes
ExportSCT
Syntax
ExportSCT(Filename As String, WidthInPixels As Integer, HeightInPixels As Integer, BitsPerPixel As Integer, DpiX As Integer, DpiY As Integer, SaveSelected As _ExportSCT_SaveSelected_enum)
Description
Save the current drawing or slide to Scitex CT Bitmap format (.SCT).
Parameters
Filename: string The SCT filename.
WidthInPixels: numeric The width in pixels of the exported drawing.
HeightInPixels: numeric The height in pixels of the exported drawing.
BitsPerPixel: numeric The number of bits per pixel in the exported drawing.
DpiX: numeric The number of horizontal dots per inch.
DpiY: numeric The number of vertical dots per inch.
SaveSelected: enumeration Save the selected objects only.
No
Yes
ExportTGA
Syntax
ExportTGA(Filename As String, WidthInPixels As Integer, HeightInPixels As Integer, BitsPerPixel As Integer, DpiX As Integer, DpiY As Integer, SaveSelected As _ExportTGA_SaveSelected_enum)
Description
Save the current drawing or slide in Targa Bitmap format (.TGA).
Parameters
Filename: string The TGA filename.
WidthInPixels: numeric The width in pixels of the exported drawing.
HeightInPixels: numeric The height in pixels of the exported drawing.
BitsPerPixel: numeric The number of bits per pixel in the exported drawing.
DpiX: numeric The number of horizontal dots per inch.
DpiY: numeric The number of vertical dots per inch.
SaveSelected: enumeration Save the selected objects only.
No
Yes
ExportTIFF
Syntax
ExportTIFF(Filename As String, WidthInPixels As Integer, HeightInPixels As Integer, BitsPerPixel As Integer, DpiX As Integer, DpiY As Integer, SaveSelected As _ExportTIFF_SaveSelected_enum)
Description
Save the current drawing or slide in Tagged Image File Format (.TIFF).
Parameters
Filename: string The TIFF filename.
WidthInPixels: numeric The width in pixels of the exported drawing.
HeightInPixels: numeric The height in pixels of the exported drawing.
BitsPerPixel: numeric The number of bits per pixel in the exported drawing.
DpiX: numeric The number of horizontal dots per inch.
DpiY: numeric The number of vertical dots per inch.
SaveSelected: enumeration Save the selected objects only.
No
Yes
ExportWMF
Syntax
ExportWMF(MetafileType As _ExportWMF_MetafileType_enum, Filename As String, SaveSelected As _ExportWMF_SaveSelected_enum
Description
Save the current drawing or slide in Windows Metafile Format (.WNF).
Parameters
MetafileType: enumeration Save the file in Microsoft or Aldus Placeable format.
Aldus
Microsoft
Filename: string The name of the exported file.
SaveSelected: enumeration Save the selected objects only.
No
Yes
ExportWVL
Syntax
ExportWVL(Filename As String, WidthInPixels As Integer, HeightInPixels As Integer, BitsPerPixel As Integer, DpiX As Integer, DpiY As Integer, SaveSelected As _ExportWVL_SaveSelected_enum)
Description
Save the current drawing or slide to Wavelet Compressed Bitmap format (.WVL).
Parameters
Filename: string The WVL filename.
WidthInPixels: numeric The width in pixels of the exported drawing.
HeightInPixels: numeric The height in pixels of the exported drawing.
BitsPerPixel: numeric The number of bits per pixel in the exported drawing.
DpiX: numeric The number of horizontal dots per inch.
DpiY: numeric The number of vertical dots per inch.
SaveSelected: enumeration Save the selected objects only.