[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-19 UTC."],[[["\u003cp\u003eThe latest version available for the Google.Cloud.DocumentAI.V1.Barcode class is 3.19.0, and there are multiple versions available, spanning from 1.0.0 to the newest version.\u003c/p\u003e\n"],["\u003cp\u003eThe Barcode class is part of the Google.Cloud.DocumentAI.V1 namespace within the Google.Cloud.DocumentAI.V1.dll assembly, used for encoding detailed barcode information.\u003c/p\u003e\n"],["\u003cp\u003eThe Barcode class implements several interfaces including IMessage, IEquatable, IDeepCloneable, and IBufferMessage.\u003c/p\u003e\n"],["\u003cp\u003eThe Barcode class has two constructors, one default, and another that takes in another Barcode as a parameter, and has three properties, being \u003ccode\u003eFormat\u003c/code\u003e, \u003ccode\u003eRawValue\u003c/code\u003e, and \u003ccode\u003eValueFormat\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe properties \u003ccode\u003eFormat\u003c/code\u003e, \u003ccode\u003eRawValue\u003c/code\u003e, and \u003ccode\u003eValueFormat\u003c/code\u003e of the Barcode class handle barcode type, raw encoded value, and value format, respectively, including support for various formats like \u003ccode\u003eCODE_128\u003c/code\u003e, \u003ccode\u003eQR_CODE\u003c/code\u003e, \u003ccode\u003eURL\u003c/code\u003e, and \u003ccode\u003ePHONE\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Cloud Document AI v1 API - Class Barcode (3.21.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.21.0 (latest)](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Barcode)\n- [3.20.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.20.0/Google.Cloud.DocumentAI.V1.Barcode)\n- [3.19.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.19.0/Google.Cloud.DocumentAI.V1.Barcode)\n- [3.18.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.18.0/Google.Cloud.DocumentAI.V1.Barcode)\n- [3.17.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.17.0/Google.Cloud.DocumentAI.V1.Barcode)\n- [3.16.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.16.0/Google.Cloud.DocumentAI.V1.Barcode)\n- [3.15.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.15.0/Google.Cloud.DocumentAI.V1.Barcode)\n- [3.14.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.14.0/Google.Cloud.DocumentAI.V1.Barcode)\n- [3.13.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.13.0/Google.Cloud.DocumentAI.V1.Barcode)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.12.0/Google.Cloud.DocumentAI.V1.Barcode)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.11.0/Google.Cloud.DocumentAI.V1.Barcode)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.10.0/Google.Cloud.DocumentAI.V1.Barcode)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.9.0/Google.Cloud.DocumentAI.V1.Barcode)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.8.0/Google.Cloud.DocumentAI.V1.Barcode)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.7.0/Google.Cloud.DocumentAI.V1.Barcode)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.6.0/Google.Cloud.DocumentAI.V1.Barcode)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.5.0/Google.Cloud.DocumentAI.V1.Barcode)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.4.0/Google.Cloud.DocumentAI.V1.Barcode)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.3.0/Google.Cloud.DocumentAI.V1.Barcode)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.2.0/Google.Cloud.DocumentAI.V1.Barcode)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.1.0/Google.Cloud.DocumentAI.V1.Barcode)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.0.0/Google.Cloud.DocumentAI.V1.Barcode)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/2.0.0/Google.Cloud.DocumentAI.V1.Barcode)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/1.5.0/Google.Cloud.DocumentAI.V1.Barcode)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/1.4.0/Google.Cloud.DocumentAI.V1.Barcode)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/1.3.0/Google.Cloud.DocumentAI.V1.Barcode)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/1.2.0/Google.Cloud.DocumentAI.V1.Barcode)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/1.1.0/Google.Cloud.DocumentAI.V1.Barcode)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/1.0.0/Google.Cloud.DocumentAI.V1.Barcode) \n\n public sealed class Barcode : IMessage\u003cBarcode\u003e, IEquatable\u003cBarcode\u003e, IDeepCloneable\u003cBarcode\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Document AI v1 API class Barcode.\n\nEncodes the detailed information of a barcode. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Barcode \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Barcode](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Barcode), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Barcode](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Barcode), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Barcode](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Barcode), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.DocumentAI.V1](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.DocumentAI.V1.dll\n\nConstructors\n------------\n\n### Barcode()\n\n public Barcode()\n\n### Barcode(Barcode)\n\n public Barcode(Barcode other)\n\nProperties\n----------\n\n### Format\n\n public string Format { get; set; }\n\nFormat of a barcode.\nThe supported formats are:\n\n- `CODE_128`: Code 128 type.\n- `CODE_39`: Code 39 type.\n- `CODE_93`: Code 93 type.\n- `CODABAR`: Codabar type.\n- `DATA_MATRIX`: 2D Data Matrix type.\n- `ITF`: ITF type.\n- `EAN_13`: EAN-13 type.\n- `EAN_8`: EAN-8 type.\n- `QR_CODE`: 2D QR code type.\n- `UPC_A`: UPC-A type.\n- `UPC_E`: UPC-E type.\n- `PDF417`: PDF417 type.\n- `AZTEC`: 2D Aztec code type.\n- `DATABAR`: GS1 DataBar code type.\n\n### RawValue\n\n public string RawValue { get; set; }\n\nRaw value encoded in the barcode.\nFor example: `'MEBKM:TITLE:Google;URL:https://www.google.com;;'`.\n\n### ValueFormat\n\n public string ValueFormat { get; set; }\n\nValue format describes the format of the value that a barcode\nencodes.\nThe supported formats are:\n\n- `CONTACT_INFO`: Contact information.\n- `EMAIL`: Email address.\n- `ISBN`: ISBN identifier.\n- `PHONE`: Phone number.\n- `PRODUCT`: Product.\n- `SMS`: SMS message.\n- `TEXT`: Text string.\n- `URL`: URL address.\n- `WIFI`: Wifi information.\n- `GEO`: Geo-localization.\n- `CALENDAR_EVENT`: Calendar event.\n- `DRIVER_LICENSE`: Driver's license."]]