FieldDisplayBarcode
Overview
FieldDisplayBarcode is a class in Aspose.Words FOSS for .NET.
Inherits from: Field, IFieldCodeTokenInfoProvider.
Implements the DISPLAYBARCODE field.
This class provides 4 methods for working with FieldDisplayBarcode objects in .NET programs.
Available methods include: GetFieldCode, Remove, Unlink, Update.
All public members are accessible to any .NET application after installing the Aspose.Words FOSS for .NET package.
Properties: AddStartStopChar, BackgroundColor, BarcodeType, BarcodeValue, CaseCodeStyle, DisplayResult, and 17 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
BarcodeValue | string | Read/Write | Gets or sets the barcode value. |
BarcodeType | string | Read/Write | Gets or sets the barcode type (QR, etc.) |
SymbolHeight | string | Read/Write | Gets or sets the height of the symbol. |
SymbolRotation | string | Read/Write | Gets or sets the rotation of the barcode symbol. |
ScalingFactor | string | Read/Write | Gets or sets a scaling factor for the symbol. |
ForegroundColor | string | Read/Write | Gets or sets the foreground color of the barcode symbol. |
BackgroundColor | string | Read/Write | Gets or sets the background color of the barcode symbol. |
PosCodeStyle | string | Read/Write | Gets or sets the style of a Point of Sale barcode (barcode types UPCA |
CaseCodeStyle | string | Read/Write | Gets or sets the style of a Case Code for barcode type ITF14. |
ErrorCorrectionLevel | string | Read/Write | Gets or sets an error correction level of QR Code. |
DisplayText | bool | Read/Write | Gets or sets whether to display barcode data (text) along with image. |
AddStartStopChar | bool | Read/Write | Gets or sets whether to add Start/Stop characters for barcode types NW7 and CODE39. |
FixCheckDigit | bool | Read/Write | Gets or sets whether to fix the check digit if it’s invalid. |
Start | FieldStart | Read | Gets the node that represents the start of the field. |
Separator | FieldSeparator | Read | Gets the node that represents the field separator. |
End | FieldEnd | Read | Gets the node that represents the field end. |
Type | FieldType | Read | Gets the Microsoft Word field type. |
Result | string | Read/Write | Gets or sets text that is between the field separator and field end. |
DisplayResult | string | Read | Gets the text that represents the displayed field result. |
IsLocked | bool | Read/Write | Gets or sets whether the field is locked (should not recalculate its result). |
IsDirty | bool | Read/Write | Gets or sets whether the current result of the field is no longer correct (stale) due to other modifications made to the document. |
Format | FieldFormat | Read | Gets a FieldFormat object that provides typed access to field’s formatting. |
LocaleId | int | Read/Write | Gets or sets the LCID of the field. |
Methods
| Signature | Description |
|---|---|
GetFieldCode() | Returns text between field start and field separator (or field end if there is no separator). |
Remove() | Removes the field from the document. |
Update() | Performs the field update. |
Unlink() | Performs the field unlink. |