FieldBarcodeFacingIdentificationMark Property
Gets or sets the type of a Facing Identification Mark (FIM) to insert.

Namespace: Aspose.Words.Fields
Assembly: Aspose.Words (in Aspose.Words.dll) Version: 19.12
Syntax
public string FacingIdentificationMark { get; set; }

Property Value

Type: String
Examples
Shows how to insert a BARCODE field and set its properties.
Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);

// Use a document builder to insert a bookmark with a US postal code in it
builder.StartBookmark("BarcodeBookmark");
builder.Writeln("96801");
builder.EndBookmark("BarcodeBookmark");

builder.Writeln();

// Reference a US postal code directly
FieldBarcode fieldBarcode = (FieldBarcode)builder.InsertField(FieldType.FieldBarcode, true);
fieldBarcode.FacingIdentificationMark = "C";
fieldBarcode.PostalAddress = "96801";
fieldBarcode.IsUSPostalAddress = true;

builder.Writeln();

// Reference a US postal code from a bookmark
fieldBarcode = (FieldBarcode)builder.InsertField(FieldType.FieldBarcode, true);
fieldBarcode.PostalAddress = "BarcodeBookmark";
fieldBarcode.IsBookmark = true;

doc.UpdateFields();
doc.Save(ArtifactsDir + "Field.USAddressBarcode.docx");
See Also