Reflection Desktop VBA Guide
Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Screen Object / SaveDisplayMemory2 Method
The file to which display memory is written.
A DisplayMemorySelectionOption value that specifies the portion of display memory to be written.
A TextTranslationOption value that specifies options for translating display memory data.
A SaveFileOption value that specifies what to do when the specified file already exists.
In This Topic
SaveDisplayMemory2 Method
In This Topic
Writes the specified portion of display memory to a file.
Syntax
expression.SaveDisplayMemory2( _
   ByVal fileName As String, _
   ByVal select As DisplayMemorySelectionOption, _
   ByVal translation As TextTranslationOption, _
   ByVal fileexists As SaveFileOption _
) As ReturnCode
where expression is a variable that represents a Screen Object

Parameters

fileName
The file to which display memory is written.
select
A DisplayMemorySelectionOption value that specifies the portion of display memory to be written.
translation
A TextTranslationOption value that specifies options for translating display memory data.
fileexists
A SaveFileOption value that specifies what to do when the specified file already exists.

Return Value

One of the following ReturnCode enumeration values.

Member Description
Cancelled Cancelled.
Error Error.
PermissionRequired Permission is required.
Success Success.
Timeout Timeout condition.
Truncated The text is truncated.

See Also