PDFView4NET WinForms Edition


Data Property (PDFBarcode)
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;}

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 10, Windows 11, Windows Server 2022, Windows Server 2025

See Also