Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

Added support for LightPath #21

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ijourneaux
Copy link
Contributor

This is the code required to support LightPath

This is the code required to support LightPath
@@ -203,6 +220,27 @@ public void NegotiateDuplex(ScanSettings scanSettings)
// Do nothing if the data source does not support the requested capability
}
}
public void NegotiateLightPath(ScanSettings scanSettings)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New line here please.

changed Film SCanner to Film Scanner
Added \newline
try
{
var cap = new Capability(Capabilities.Lightpath, TwainType.Int16, _applicationId, SourceId);
// return ((Lightpath)cap.GetBasicValue().Int16Value) != Lightpath.Transmissive;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was there a problem using this check?

@tmyroadctfig
Copy link
Owner

Looks like a good change. If you can look at those minor comments then I'll merge it in.

Thanks, Luke

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants