Open vishalsohaliya opened 6 years ago
_settings = new ScanSettings(); _settings.Page = new PageSettings(); _settings.Resolution = new ResolutionSettings(); _settings.UseDocumentFeeder = useAdfCheckBox.Checked; _settings.ShowTwainUI = useUICheckBox.Checked; _settings.ShowProgressIndicatorUI = showProgressIndicatorUICheckBox.Checked; _settings.UseDuplex = useDuplexCheckBox.Checked; _settings.Resolution.Dpi = 800; _settings.Page.Size = TwainDotNet.TwainNative.PageType.MaxSize;
**hello i want to set custom page size like (1527,800)**
_settings = new ScanSettings(); _settings.Page = new PageSettings(); _settings.Resolution = new ResolutionSettings(); _settings.UseDocumentFeeder = useAdfCheckBox.Checked; _settings.ShowTwainUI = useUICheckBox.Checked; _settings.ShowProgressIndicatorUI = showProgressIndicatorUICheckBox.Checked; _settings.UseDuplex = useDuplexCheckBox.Checked; _settings.Resolution.Dpi = 800; _settings.Page.Size = TwainDotNet.TwainNative.PageType.MaxSize;