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. |