Click or drag to resize
TesseractOcrImageResizeSettings Class
Holds settings for resizing an image.
Inheritance Hierarchy
SystemObject
  DevScope.Ocr.Tesseract.WindowsPhoneTesseractOcrImageResizeSettings

Namespace: DevScope.Ocr.Tesseract.WindowsPhone
Assembly: DevScope.Ocr.Tesseract.WindowsPhone (in DevScope.Ocr.Tesseract.WindowsPhone.dll) Version: 255.255.255.255
Syntax
public sealed class TesseractOcrImageResizeSettings : __ITesseractOcrImageResizeSettingsPublicNonVirtuals

The TesseractOcrImageResizeSettings type exposes the following members.

Constructors
  NameDescription
Public methodTesseractOcrImageResizeSettings
Initializes a new instance of the TesseractOcrImageResizeSettings class.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyScaleXFactor
The horizontal resize scale factor
Public propertyScaleYFactor
The vertical resize scale factor
Top
Remarks
The resize operation settings will be interpreted in the following way
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.
See Also