'宣言 Public Property BarCodeType As BarCodeEnum
'使用法 Dim instance As RenderBarCodeEx Dim value As BarCodeEnum instance.BarCodeType = value value = instance.BarCodeType
public BarCodeEnum BarCodeType {get; set;}
Note that BarCodeType.None is not a valid value for this property.
'宣言 Public Property BarCodeType As BarCodeEnum
'使用法 Dim instance As RenderBarCodeEx Dim value As BarCodeEnum instance.BarCodeType = value value = instance.BarCodeType
public BarCodeEnum BarCodeType {get; set;}
RenderBarCode rbc = new RenderBarCode(); rbc.BarCodeType = BarCodeType.Code39; rbc.Text = "123456"; doc.Body.Children.Add(rbc);