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

OnCapabilityChanged

Invoked when the capability value changed.

Syntax

protected virtual void OnCapabilityChanged(CapabilityEventArgs e)

Parameters

  • e: Information about the capability that was changed.

Examples

protected override void OnCapabilityChanged(CapabilityEventArgs e) {
    switch(e.Capability.CapabilityInfo.Capability) {
        case TwCap.IPixelType:
            this._ResetCap(TwCap.BitDepth);
            break;
    }
    base.OnCapabilityChanged(e);
}

Last edited Sep 16, 2016 at 8:05 PM by SARAFF, version 1