Leadtools.Services.Raster.ServiceContracts Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Convert(ConvertRequest) Method
See Also 
Leadtools.Services.Raster.ServiceContracts Namespace > IRasterService Interface > Convert Method : Convert(ConvertRequest) Method



request
A MessageContractAttribute with contents the data that will be used into this Convert operation.
request
A MessageContractAttribute with contents the data that will be used into this Convert operation.
Converts an image file to any image file format supported by LEADTOOLS.

Syntax

Visual Basic (Declaration) 
<OperationContractAttribute("Convert")>
<FaultContractAttribute(DetailType=Leadtools.Services.Raster.FaultContracts.RasterFault, 
   Action="", 
   Name="", 
   Namespace="", 
   HasProtectionLevel=False)>
Overloads Overridable Function Convert( _
   ByVal request As ConvertRequest _
) As ConvertResponse
Visual Basic (Usage)Copy Code
Dim instance As IRasterService
Dim request As ConvertRequest
Dim value As ConvertResponse
 
value = instance.Convert(request)
C# 
[OperationContractAttribute("Convert")]
[FaultContractAttribute(DetailType=Leadtools.Services.Raster.FaultContracts.RasterFault, 
   Action="", 
   Name="", 
   Namespace="", 
   HasProtectionLevel=false)]
virtual ConvertResponse Convert( 
   ConvertRequest request
)
C++/CLI 
[OperationContractAttribute("Convert")]
[FaultContractAttribute(DetailType=Leadtools.Services.Raster.FaultContracts.RasterFault, 
   Action="", 
   Name="", 
   Namespace="", 
   HasProtectionLevel=false)]
virtual ConvertResponse Convert( 
   ConvertRequest request
) 

Parameters

request
A MessageContractAttribute with contents the data that will be used into this Convert operation.

Return Value

A MessageContractAttribute with contents the image data resulted from Convert operation.

Example

For an example, refer to ConvertRequest.

Remarks

This method is intented to be used when hosting using WebHttpBinding.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Applications developed with LEADTOOLS WCF components require runtime licenses. Server licensing is required for applications on a server. For more information, refer to: Imaging Pro/Document/Medical Features