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


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > RenderBarCode クラス : Text プロパティ
Gets or sets the value that is encoded as the barcode image.
シンタックス
'宣言
 
Public Property Text As System.String
'使用法
 
Dim instance As RenderBarCode
Dim value As System.String
 
instance.Text = value
 
value = instance.Text
public System.string Text {get; set;}
解説

Some encodings support alphanumeric values of any length. Others are limited to numeric values or to a specific set of characters. See the RenderBarCode.BarCodeType enumeration for details.

If you use characters that are invalid for the current encoding, the object will display a blank image.

使用例
The following sample shows how to use the Text 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 メンバ