public PhraseRect(Rectangle Location, IAsyncOCR OCRResult, PhraseRectMode Mode, frmBabel BabelForm, TranslationCallback callback = null) { this.Location = Location; this.BabelForm = BabelForm; this.mode = Mode; if (Autofit) { DoAutoFit(OCRResult); } UpdateText(OCRResult, callback); }
public PhraseRect(Rectangle Location, IAsyncOCR OCRResult, frmBabel BabelForm, TranslationCallback callback = null) : this(Location, OCRResult, NewPhraseMode, BabelForm, callback) { // nothing to do }