This project has moved. For the latest updates, please go here.

DataSourceCapability Category

  • DataSourceCapabilityAttribute - Define property of a capability
[DataSourceCapability(
    TwCap.BitDepth, 
    TwType.UInt16, 
    SupportedOperations=TwQC.Get|TwQC.GetCurrent|TwQC.GetDefault|TwQC.Set|TwQC.Reset, 
    Get=TwOn.Enum)]
internal sealed class BitDepthDataSourceCapability:EnumDataSourceCapability<ushort> {

[DataSourceCapability(
    TwCap.CustHalfTone, 
    TwType.UInt8, 
    SupportedOperations=TwQC.Get|TwQC.GetCurrent|TwQC.GetDefault|TwQC.Set|TwQC.Reset, 
    Get=TwOn.Array, 
    GetCurrent=TwOn.Array, 
    GetDefault=TwOn.Array)]
internal sealed class CustHalftoneDataSourceCapability:ArrayDataSourceCapability<byte> {

Last edited Jul 31, 2016 at 10:30 AM by SARAFF, version 2