Skip to content

Commit

Permalink
Merge pull request #184 from Mano176/UseCode39ExtendedMode_Support
Browse files Browse the repository at this point in the history
Added support for the UseCode39ExtendedMode option
  • Loading branch information
Redth authored Sep 12, 2024
2 parents e753ee4 + a2a72b6 commit 631825a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion ZXing.Net.MAUI/BarcodeScannerOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,7 @@ public record BarcodeReaderOptions

public bool Multiple { get; init; }

}
public bool UseCode39ExtendedMode { get; init; }

}
}
3 changes: 2 additions & 1 deletion ZXing.Net.MAUI/ZXingBarcodeReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ public BarcodeReaderOptions Options
zxingReader.Options.TryHarder = options.TryHarder;
zxingReader.AutoRotate = options.AutoRotate;
zxingReader.Options.TryInverted = options.TryInverted;
}
zxingReader.Options.UseCode39ExtendedMode = options.UseCode39ExtendedMode;
}
}

public BarcodeResult[] Decode(PixelBufferHolder image)
Expand Down

0 comments on commit 631825a

Please sign in to comment.