All products / Saraff.Twain.NET / Contents
String values
There are four types of TWAIN strings defined for developer use:
TW_STR32
TW_STR64
TW_STR128
TW_STR255
//Author
if((this._twain32.IsCapSupported(TwCap.Author)&TwQC.Set)!=0) {
this._twain32.SetCap(TwCap.Author,"SARAFF".PadRight(128,'\0')/*TW_STR128*/); //The Author of the image.
}
// OR
if(this._twain32.Capabilities.Author.IsCapSupported(TwQC.Set)) {
this._twain32.Capabilities.Author.SetCap("SARAFF"); //The Author of the image.
}