VintaSoft Barcode .NET SDK v10.0
Vintasoft.Barcode.Web.WcfServices Namespace / IVintasoftBarcodeWcfService Interface / GetBarcodeAsBase64Image Method
Parameters for barcode writer.




In This Topic
    GetBarcodeAsBase64Image Method (IVintasoftBarcodeWcfService)
    In This Topic
    Generates a barcode image and returns barcode image as Base64 string.
    Syntax
    'Declaration
     
    <OperationContractAttribute(Name="GetBarcodeAsBase64Image", Action="GetBarcodeAsBase64Image")>
    <WebInvokeAttribute(IsBodyStyleSetExplicitly=True, 
       IsRequestFormatSetExplicitly=True, 
       IsResponseFormatSetExplicitly=True, 
       Method="POST", 
       RequestFormat=WebMessageFormat.Json, 
       ResponseFormat=WebMessageFormat.Json)>
    Function GetBarcodeAsBase64Image( _
       ByVal requestParams As BarcodeWriteRequestParams _
    ) As BarcodeWriteResponseParams
    'Usage
     
    Dim instance As IVintasoftBarcodeWcfService
    Dim requestParams As BarcodeWriteRequestParams
    Dim value As BarcodeWriteResponseParams
     
    value = instance.GetBarcodeAsBase64Image(requestParams)
    [OperationContract(Name="GetBarcodeAsBase64Image", Action="GetBarcodeAsBase64Image")]
    [WebInvoke(IsBodyStyleSetExplicitly=true, 
       IsRequestFormatSetExplicitly=true, 
       IsResponseFormatSetExplicitly=true, 
       Method="POST", 
       RequestFormat=WebMessageFormat.Json, 
       ResponseFormat=WebMessageFormat.Json)]
    BarcodeWriteResponseParams GetBarcodeAsBase64Image( 
       BarcodeWriteRequestParams requestParams
    )
    [OperationContract(Name="GetBarcodeAsBase64Image", Action="GetBarcodeAsBase64Image")]
    [WebInvoke(IsBodyStyleSetExplicitly=true, 
       IsRequestFormatSetExplicitly=true, 
       IsResponseFormatSetExplicitly=true, 
       Method="POST", 
       RequestFormat=WebMessageFormat.Json, 
       ResponseFormat=WebMessageFormat.Json)]
    BarcodeWriteResponseParams* GetBarcodeAsBase64Image( 
       BarcodeWriteRequestParams* requestParams
    ) 
    [OperationContract(Name="GetBarcodeAsBase64Image", Action="GetBarcodeAsBase64Image")]
    [WebInvoke(IsBodyStyleSetExplicitly=true, 
       IsRequestFormatSetExplicitly=true, 
       IsResponseFormatSetExplicitly=true, 
       Method="POST", 
       RequestFormat=WebMessageFormat.Json, 
       ResponseFormat=WebMessageFormat.Json)]
    BarcodeWriteResponseParams^ GetBarcodeAsBase64Image( 
       BarcodeWriteRequestParams^ requestParams
    ) 

    Parameters

    requestParams
    Parameters for barcode writer.

    Return Value

    Barcode image as Base64 string.
    Requirements

    Target Platforms: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also