beautypg.com

Chapter three, Control reference – Teledyne LeCroy WaveExpert series Automation Manual User Manual

Page 113

background image

Chapter Three

Control Reference

Sets/Queries the e-mail message.

EMailMessage

Any number of characters

String

' Visual Basic Script
Set app = CreateObject("LeCroy.XStreamDSO")

' Create the e-mail message - "Results for run 89".
app.Hardcopy.EMailMessage = "Results for run 89"

Range

Example

Description

Sets/Queries the orientation for hard copy to landscape.
Valid only when emitting to a printer as opposed to a file, the clipboard, or an E-Mail.

Orientation

Enum

' Visual Basic Script
Set app = CreateObject("LeCroy.XStreamDSO")

' Set the orientation for hardcopy to landscape.
app.Hardcopy.Orientation = "Landscape"

Example

Description

Values

Landscape

Portrait

Sets/Queries the destination for hard copy.

Destination

Enum

' Visual Basic Script
Set app = CreateObject("LeCroy.XStreamDSO")

' Set the destination for hard copy to e-mail.
app.Hardcopy.Destination = "EMail"

Example

Description

Values

Clipboard

Send to clipboard for pasting into other applications

EMail

Send image in an E-Mail

File

Store image in a file

Printer

Print to a local, or networked printer

Remote

Special case used for remote printing, not usually used

3-46

916435 RevA