Error processing SSI file
LEADTOOLS WCF (Leadtools.Services.Twain assembly)

Show in webframe

GetPage Method (ITwainService)






The scanning session Id.
The 1-based page number.
The image format.
The image bits-per-pixel.
The image width.
The image height.
The user data.
Gets a specific image page.
Syntax
[OperationContractAttribute(Name="GetPage", Action="GetPage")]
[WebGetAttribute(BodyStyle=WebMessageBodyStyle.Wrapped, 
   IsBodyStyleSetExplicitly=true, 
   IsRequestFormatSetExplicitly=true, 
   IsResponseFormatSetExplicitly=true, 
   RequestFormat=WebMessageFormat.Json, 
   ResponseFormat=WebMessageFormat.Json, 
   UriTemplate="GetPage?id={id}&pageNumber={pageNumber}&format={format}&bpp={bpp}&width={width}&height={height}&userData={userData}")]
Stream GetPage( 
   string id,
   int pageNumber,
   RasterImageFormat format,
   int bpp,
   int width,
   int height,
   object userData
)
'Declaration
 
<OperationContractAttribute(Name="GetPage", Action="GetPage")>
<WebGetAttribute(BodyStyle=WebMessageBodyStyle.Wrapped, 
   IsBodyStyleSetExplicitly=True, 
   IsRequestFormatSetExplicitly=True, 
   IsResponseFormatSetExplicitly=True, 
   RequestFormat=WebMessageFormat.Json, 
   ResponseFormat=WebMessageFormat.Json, 
   UriTemplate="GetPage?id={id}&pageNumber={pageNumber}&format={format}&bpp={bpp}&width={width}&height={height}&userData={userData}")>
Function GetPage( _
   ByVal id As String, _
   ByVal pageNumber As Integer, _
   ByVal format As RasterImageFormat, _
   ByVal bpp As Integer, _
   ByVal width As Integer, _
   ByVal height As Integer, _
   ByVal userData As Object _
) As Stream
'Usage
 
Dim instance As ITwainService
Dim id As String
Dim pageNumber As Integer
Dim format As RasterImageFormat
Dim bpp As Integer
Dim width As Integer
Dim height As Integer
Dim userData As Object
Dim value As Stream
 
value = instance.GetPage(id, pageNumber, format, bpp, width, height, userData)

            

            
[OperationContractAttribute(Name="GetPage", Action="GetPage")]
[WebGetAttribute(BodyStyle=WebMessageBodyStyle.Wrapped, 
   IsBodyStyleSetExplicitly=true, 
   IsRequestFormatSetExplicitly=true, 
   IsResponseFormatSetExplicitly=true, 
   RequestFormat=WebMessageFormat.Json, 
   ResponseFormat=WebMessageFormat.Json, 
   UriTemplate="GetPage?id={id}&pageNumber={pageNumber}&format={format}&bpp={bpp}&width={width}&height={height}&userData={userData}")]
Stream^ GetPage( 
   String^ id,
   int pageNumber,
   RasterImageFormat format,
   int bpp,
   int width,
   int height,
   Object^ userData
) 

Parameters

id
The scanning session Id.
pageNumber
The 1-based page number.
format
The image format.
bpp
The image bits-per-pixel.
width
The image width.
height
The image height.
userData
The user data.

Return Value

The image data.
Requirements

Target Platforms

See Also

Reference

ITwainService Interface
ITwainService Members

Error processing SSI file