|
WpfWindowModelBaseCompareImage Method |
The documentation is integral part of the weroSoft product documentation. This part is intended to be used by developers only.
Compares the image of the current main window to a given image.
Namespace:
WeroSoft.UnitTesting.Wpf
Assembly:
WeroSoft.UnitTesting.Library (in WeroSoft.UnitTesting.Library.dll) Version: 3.0 Pre-Release
Syntax public bool CompareImage(
string fileNameComparingImage,
string resultingImage
)
Parameters
- fileNameComparingImage
- Type: SystemString
File name of the image to be compared. - resultingImage
- Type: SystemString
File name of the image can be used to save the comparing image.
Return Value
Type:
BooleanA value indicating whether comparing was successful or not. True if success.
Remarks
The method saves the resulting image on the same path as the comparing image reside.
See Also