View on GitHub

SARAFF SOFTWARE

All products / Saraff.Twain.DS / Contents

OnXferReady

Invoked to indicate that the Source has data that is ready to be transferred.

Syntax

protected virtual void OnXferReady()

Examples

this._acquireForm.AcquireRequred+=(sender,e) => {
    this[TwCap.XResolution].Value=e.Args.Resolution;
    this[TwCap.YResolution].Value=e.Args.Resolution;
    this[TwCap.IPixelType].Value=e.Args.PixelType;
    this[TwCap.FeederEnabled].Value=e.Args.FeederEnable;
    this[(TwCap)0x8001].Value=(short)e.Args.XferCount;
    this[TwCap.BitDepth].Value=(ushort)e.Args.BitDepth;

    this.OnXferReady();
};