'Declaration
Public Overridable Function GetPage( _
ByVal As String, _
ByVal As Integer, _
ByVal As RasterImageFormat, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Object _
) As Stream
'Usage
Dim instance As TwainScanningService
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)