TesseractOcrImageResizeSettings Class |
Namespace: DevScope.Ocr.Tesseract.WindowsPhone
The TesseractOcrImageResizeSettings type exposes the following members.
Name | Description | |
---|---|---|
TesseractOcrImageResizeSettings |
Initializes a new instance of the TesseractOcrImageResizeSettings class.
|
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
ScaleXFactor |
The horizontal resize scale factor
| |
ScaleYFactor |
The vertical resize scale factor
|
If ScaleXFactor and ScaleXFactor are both 0.0, no resize is done. |
If ScaleXFactor is greater than 0.0 and ScaleYFactor equals 0.0, the image will be resized by multiplying the width by the ScaleXFactor and maintaining the original aspect ratio. |
If ScaleXFactor is greater than 0.0 and ScaleYFactor equals 1.0, the image will be resized by multiplying the width by the ScaleXFactor and keeping the same height, streching or expanding horizontaly. |
If ScaleYFactor is greater than 0.0 and ScaleXFactor equals 0.0, the image will be resized by multiplying the height by the ScaleYFactor and maintaining the original aspect ratio. |
If ScaleYFactor is greater than 0.0 and ScaleXFactor equals 1.0, the image will be resized by multiplying the height by the ScaleYFactor and keeping the same width, streching or expanding vertically. |
If ScaleXFactor is greater than 0.0 and ScaleYFactor greater than 0.0, the image will be resized by multiplying the width by the ScaleXFactor and the height by the ScaleYFactor. |