Syntax
[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
)
<OperationContractAttribute(Name="Preview", Action="Preview")>
<WebGetAttribute(BodyStyle=WebMessageBodyStyle.Wrapped,
IsBodyStyleSetExplicitly=True,
IsRequestFormatSetExplicitly=True,
IsResponseFormatSetExplicitly=True,
RequestFormat=WebMessageFormat.Json,
ResponseFormat=WebMessageFormat.Json,
UriTemplate="Preview?id={id}&pageNumber={pageNumber}&commandName={commandName}&arguments={arguments}&width={width}&height={height}&format={format}&bpp={bpp}&userData={userData}")>
Function Preview( _
ByVal id As String, _
ByVal pageNumber As Integer, _
ByVal commandName As String, _
ByVal arguments As String, _
ByVal width As Integer, _
ByVal height As Integer, _
ByVal format As Leadtools.RasterImageFormat, _
ByVal bpp As Integer, _
ByVal userData As Object _
) As Stream
[OperationContractAttribute(Name="Preview", Action="Preview")]
[WebGetAttribute(BodyStyle=WebMessageBodyStyle.Wrapped,
IsBodyStyleSetExplicitly=true,
IsRequestFormatSetExplicitly=true,
IsResponseFormatSetExplicitly=true,
RequestFormat=WebMessageFormat.Json,
ResponseFormat=WebMessageFormat.Json,
UriTemplate="Preview?id={id}&pageNumber={pageNumber}&commandName={commandName}&arguments={arguments}&width={width}&height={height}&format={format}&bpp={bpp}&userData={userData}")]
Stream^ Preview(
String^ id,
int pageNumber,
String^ commandName,
String^ arguments,
int width,
int height,
Leadtools.RasterImageFormat format,
int bpp,
Object^ userData
)
Parameters
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.
bpp
Bits-per-pixel of the preview image to return.
userData
User data object.
Return Value
Image in the format, bits per pixel, dimensions and processed with the command and arguments specified.