 | ElementSnapshotSaveToFile Method |
Saves the snapshot to a file.
Namespace:
Ranorex.Core
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic void SaveToFile(
string fileName,
bool compress = true
)
Public Sub SaveToFile (
fileName As String,
Optional compress As Boolean = true
)
Parameters
- fileName
- Type: SystemString
The file (optionally including a path) to save the snapshot to. - compress (Optional)
- Type: SystemBoolean
Specifies whether to compress the snapshot (default: true).
Exceptions
RemarksIt is recommended to use the file extension "rxsnp" for the fileName
to allow for maximal interoperability with Ranorex tools.
See Also