VintaSoft Twain .NET SDK 15.4: Documentation for .NET developer
In This Topic
How to scan negatives using TWAIN image scanner?
In This Topic
Here is an example that demonstrates how to scan negatives using TWAIN image scanner:
public void ScanColorImageWithLightPath(Vintasoft.Twain.Device device)
{
    device.ShowUI = false;
    device.DisableAfterAcquire = true;

    device.Open();
    device.PixelType = Vintasoft.Twain.PixelType.RGB;
    device.UnitOfMeasure = Vintasoft.Twain.UnitOfMeasure.Inches;
    device.Resolution = new Vintasoft.Twain.Resolution(300f, 300f);
    device.LightPath = Vintasoft.Twain.LightPath.Transmissive;

    device.Acquire();
}
Public Sub ScanColorImageWithLightPath(device As Vintasoft.Twain.Device)
    device.ShowUI = False
    device.DisableAfterAcquire = True

    device.Open()
    device.PixelType = Vintasoft.Twain.PixelType.RGB
    device.UnitOfMeasure = Vintasoft.Twain.UnitOfMeasure.Inches
    device.Resolution = New Vintasoft.Twain.Resolution(300.0F, 300.0F)
    device.LightPath = Vintasoft.Twain.LightPath.Transmissive

    device.Acquire()
End Sub