VintaSoft Twain .NET SDK v10.2
In This Topic
    How to scan negatives using a scanner?
    In This Topic

    Example: Here is an example that shows how to scan negatives using a scanner.

    Public Sub ScanColorImageWithLightPath(ByVal device As Device)
        device.ShowUI = False
        device.DisableAfterAcquire = True
    
        device.Open()
        device.PixelType = PixelType.RGB
        device.UnitOfMeasure = UnitOfMeasure.Inches
        device.Resolution = New Resolution(300.0F, 300.0F)
        device.LightPath = LightPath.Transmissive
    
        device.Acquire()
    End Sub
                  
    
    public void ScanColorImageWithLightPath(Device device)
    {
        device.ShowUI = false;
        device.DisableAfterAcquire = true;
    
        device.Open();
        device.PixelType = PixelType.RGB;
        device.UnitOfMeasure = UnitOfMeasure.Inches;
        device.Resolution = new Resolution(300f, 300f);
        device.LightPath = LightPath.Transmissive;
    
        device.Acquire();
    }