FAQ: How to scan image in memory

17 views
Skip to first unread message

Vankir

unread,
Apr 10, 2007, 5:45:15 AM4/10/07
to PixTools (scanning & imaging SDK)
The sample demonstrates how to scan and view image.

public void Scan()
{
ScanDriver Scanner = ScanDriversManager.GetDriver(@"name
of your driver");
using (PipeProcess pipe = new PipeProcess(Scanner, new
ToPixImageDriver()))
{
// Scan image
PageSide scannedSide = pipe.Run();

//Show scanned image using PixTools.PixView
pixImgView.Image = scannedSide.PrimaryStream;
}
}

Reply all
Reply to author
Forward
0 new messages