tmyroadctfig / twaindotnet

MIT License
180 stars 117 forks source link

how to set custom page size? please give ans #46

Open vishalsohaliya opened 6 years ago

vishalsohaliya commented 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)**