LEADTOOLS WCF (Leadtools.Services.Raster.ServiceContracts assembly)

Convert(ConvertRequest) Method

Show in webframe





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
[OperationContractAttribute("Convert")]
[FaultContractAttribute(DetailType=Leadtools.Services.Raster.FaultContracts.RasterFault, 
   Action="", 
   Name="", 
   Namespace="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=false)]
ConvertResponse Convert( 
   ConvertRequest request
)
'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
'Usage
 
Dim instance As IRasterService
Dim request As ConvertRequest
Dim value As ConvertResponse
 
value = instance.Convert(request)

            

            
[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.
Remarks
This method is intended to be used when hosting using WebHttpBinding.
Example
For an example, refer to Leadtools.Services.Raster.DataContracts.ConvertRequest.
Requirements

Target Platforms

See Also

Reference

IRasterService Interface
IRasterService Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

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