All products / Saraff.Twain.DS / Contents
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);
}