PDFView4NET WPF Edition
Data Property (PDFBarcode)




O2S.Components.PDFView4NET.Graphics.Barcodes Namespace > PDFBarcode Class : Data Property
Gets or sets the string to be encoded as barcode.
Syntax
'Declaration
 
Public Property Data As String
'Usage
 
Dim instance As PDFBarcode
Dim value As String
 
instance.Data = value
 
value = instance.Data
public string Data {get; set;}
public: __property string* get_Data();
public: __property void set_Data( 
   string* value
);
public:
property String^ Data {
   String^ get();
   void set (    String^ value);
}

Property Value

A string value specifying the value to be encoded as barcode.
Exceptions
ExceptionDescription
Thrown when invalid symbols exist in barcode data or the data does not have the required length (applies to some barcodes only).
Remarks
The characters allowed to be encoded are defined by each barcode type.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PDFBarcode Class
PDFBarcode Members