FieldDisplayBarcode

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

NameTypeAccessDescription
BarcodeValuestringRead/WriteGets or sets the barcode value.
BarcodeTypestringRead/WriteGets or sets the barcode type (QR, etc.)
SymbolHeightstringRead/WriteGets or sets the height of the symbol.
SymbolRotationstringRead/WriteGets or sets the rotation of the barcode symbol.
ScalingFactorstringRead/WriteGets or sets a scaling factor for the symbol.
ForegroundColorstringRead/WriteGets or sets the foreground color of the barcode symbol.
BackgroundColorstringRead/WriteGets or sets the background color of the barcode symbol.
PosCodeStylestringRead/WriteGets or sets the style of a Point of Sale barcode (barcode types UPCA
CaseCodeStylestringRead/WriteGets or sets the style of a Case Code for barcode type ITF14.
ErrorCorrectionLevelstringRead/WriteGets or sets an error correction level of QR Code.
DisplayTextboolRead/WriteGets or sets whether to display barcode data (text) along with image.
AddStartStopCharboolRead/WriteGets or sets whether to add Start/Stop characters for barcode types NW7 and CODE39.
FixCheckDigitboolRead/WriteGets or sets whether to fix the check digit if it’s invalid.
StartFieldStartReadGets the node that represents the start of the field.
SeparatorFieldSeparatorReadGets the node that represents the field separator.
EndFieldEndReadGets the node that represents the field end.
TypeFieldTypeReadGets the Microsoft Word field type.
ResultstringRead/WriteGets or sets text that is between the field separator and field end.
DisplayResultstringReadGets the text that represents the displayed field result.
IsLockedboolRead/WriteGets or sets whether the field is locked (should not recalculate its result).
IsDirtyboolRead/WriteGets or sets whether the current result of the field is no longer correct (stale) due to other modifications made to the document.
FormatFieldFormatReadGets a FieldFormat object that provides typed access to field’s formatting.
LocaleIdintRead/WriteGets or sets the LCID of the field.

Methods

SignatureDescription
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.

See Also