PrintDocument for WinForms
BarCodeType プロパティ (RenderBarCode)
使用例 


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > RenderBarCode クラス : BarCodeType プロパティ
Gets or sets the type of encoding to use when generating the barcode.

Note that BarCodeType.None is not a valid value for this property.

シンタックス
'宣言
 
Public Property BarCodeType As BarCodeEnum
'使用法
 
Dim instance As RenderBarCode
Dim value As BarCodeEnum
 
instance.BarCodeType = value
 
value = instance.BarCodeType
public BarCodeEnum BarCodeType {get; set;}
解説
The selected encoding is applied to the value stored in the RenderBarCode.Text property to generate the barcode image displayed in the object.
使用例
The following sample shows how to use the BarCodeType property to encode the value "123456" as a Code39-encoded barcode:
RenderBarCode rbc = new RenderBarCode();
rbc.BarCodeType = BarCodeType.Code39;
rbc.Text = "123456";
doc.Body.Children.Add(rbc);
参照

RenderBarCode クラス
RenderBarCode メンバ