LEADTOOLS WCF (Leadtools.Services.Raster.ServiceContracts assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
Convert(ConvertRequest) Method
See Also 
Leadtools.Services.Raster.ServiceContracts Namespace > IRasterService Interface > Convert Method : Convert(ConvertRequest) Method



request
A System.ServiceModel.MessageContractAttribute with contents the data that will be used into this Convert(ConvertRequest) operation.

The Convert(ConvertRequest) Method is available in LEADTOOLS Document and Medical Imaging toolkits.

request
A System.ServiceModel.MessageContractAttribute with contents the data that will be used into this Convert(ConvertRequest) 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="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=False)>
Overloads 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="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=false)]
ConvertResponse Convert( 
   ConvertRequest request
)
C++/CLI 
[OperationContractAttribute("Convert")]
[FaultContractAttribute(DetailType=Leadtools.Services.Raster.FaultContracts.RasterFault, 
   Action="", 
   Name="", 
   Namespace="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=false)]
ConvertResponse^ Convert( 
   ConvertRequest^ request
) 

Parameters

request
A System.ServiceModel.MessageContractAttribute with contents the data that will be used into this Convert(ConvertRequest) operation.

Return Value

A System.ServiceModel.MessageContractAttribute with contents the image data resulted from Convert(ConvertRequest) operation.

Example

Remarks

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

Requirements

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

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