 | ElementSnapshotCreateFromFile Method |
Load a snapshot from a file and create an instance for it.
Namespace:
Ranorex.Core
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic static ElementSnapshot CreateFromFile(
string fileName
)
Public Shared Function CreateFromFile (
fileName As String
) As ElementSnapshot
Parameters
- fileName
- Type: SystemString
The file (optionally including a path) to load the snapshot from.
Return Value
Type:
ElementSnapshotThe newly created instance loaded from the specified file.
Exceptions
RemarksThe snapshot contained in the specified file can both be compressed or non-compressed.
See Also