[OperationContractAttribute(Name="Preview",
Action="Preview",
AsyncPattern=false,
IsOneWay=false,
IsInitiating=true,
IsTerminating=false)]
[WebGetAttribute(BodyStyle=1,
RequestFormat=1,
ResponseFormat=1,
UriTemplate="Preview?id={id}&pageNumber={pageNumber}&commandName={commandName}&arguments={argu" + "ments}&width={width}&height={height}&format={format}&bpp={bpp}&userData={userDat" + "a}")]
public Stream Preview(
string id,
int pageNumber,
string commandName,
string arguments,
int width,
int height,
RasterImageFormat format,
int bpp,
object userData
)
id
Scanning session Id.
pageNumber
Page to process. pageNumber is one-based.
commandName
Name of the command to preview.
arguments
Arguments to pass to the command to preview.
width
Width of the preview image to return.
height
Height of the preview image to return.
format
File format of the preview image to return.
bpp
Bits-per-pixel of the preview image to return.
userData
User data object.
Image in the format, bits per pixel, dimensions and processed with the command and arguments specified.
Processes the image page without changing the image stored in the session manager.