LEADTOOLS WCF (Leadtools.Services.Raster.ServiceContracts assembly)
LEAD Technologies, Inc

Convert(ConvertRequest) Method






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
)
OperationContractAttribute("Convert")
FaultContractAttribute(DetailType=Leadtools.Services.Raster.FaultContracts.RasterFault, 
   Action="", 
   Name="", 
   Namespace="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=)
function Leadtools.Services.Raster.ServiceContracts.IRasterService.Convert(ConvertRequest)( 
   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 intented to be used when hosting using WebHttpBinding.
Example
For an example, refer to Leadtools.Services.Raster.DataContracts.ConvertRequest.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IRasterService Interface
IRasterService Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 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