reference.cs

来自「二维码pdf417生成二维码的开源源码」· CS 代码 · 共 116 行

CS
116
字号
//------------------------------------------------------------------------------
// <autogenerated>
//     This code was generated by a tool.
//     Runtime Version: 1.1.4322.573
//
//     Changes to this file may cause incorrect behavior and will be lost if 
//     the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------

// 
// This source code was auto-generated by Microsoft.VSDesigner, Version 1.1.4322.573.
// 
namespace TestWebServiceClient.localhost {
    using System.Diagnostics;
    using System.Xml.Serialization;
    using System;
    using System.Web.Services.Protocols;
    using System.ComponentModel;
    using System.Web.Services;
    
    
    /// <remarks/>
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Web.Services.WebServiceBindingAttribute(Name="ImageServiceSoap", Namespace="http://tempuri.org/")]
    public class ImageService : System.Web.Services.Protocols.SoapHttpClientProtocol {
        
        /// <remarks/>
        public ImageService() {
            this.Url = "http://localhost/EaseBarcodeWebService/ImageService.asmx";
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/BarcodeImage", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")]
        public System.Byte[] BarcodeImage(Symbology symbology, string TextToEncode, int resolution) {
            object[] results = this.Invoke("BarcodeImage", new object[] {
                        symbology,
                        TextToEncode,
                        resolution});
            return ((System.Byte[])(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginBarcodeImage(Symbology symbology, string TextToEncode, int resolution, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("BarcodeImage", new object[] {
                        symbology,
                        TextToEncode,
                        resolution}, callback, asyncState);
        }
        
        /// <remarks/>
        public System.Byte[] EndBarcodeImage(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((System.Byte[])(results[0]));
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")]
    public enum Symbology {
        
        /// <remarks/>
        Code39,
        
        /// <remarks/>
        Code39ASCII,
        
        /// <remarks/>
        Code93,
        
        /// <remarks/>
        UPCA,
        
        /// <remarks/>
        EAN13,
        
        /// <remarks/>
        EAN8,
        
        /// <remarks/>
        UPCE,
        
        /// <remarks/>
        BookLand,
        
        /// <remarks/>
        Code128,
        
        /// <remarks/>
        UCC128,
        
        /// <remarks/>
        Code25,
        
        /// <remarks/>
        I25,
        
        /// <remarks/>
        Code11,
        
        /// <remarks/>
        Codabar,
        
        /// <remarks/>
        MSI,
        
        /// <remarks/>
        PDF417,
        
        /// <remarks/>
        DataMatix,
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?