[[["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-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eBarcode\u003c/code\u003e class in the Google Cloud Document AI v1beta3 API is used to encode detailed barcode information.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, supporting advanced functionalities like deep cloning and message handling.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties such as \u003ccode\u003eFormat\u003c/code\u003e, \u003ccode\u003eRawValue\u003c/code\u003e, and \u003ccode\u003eValueFormat\u003c/code\u003e, which respectively specify the barcode's type, its raw data content, and the format of the encoded value.\u003c/p\u003e\n"],["\u003cp\u003eSupported barcode formats range from linear codes like \u003ccode\u003eCODE_128\u003c/code\u003e and \u003ccode\u003eEAN_13\u003c/code\u003e to 2D codes such as \u003ccode\u003eQR_CODE\u003c/code\u003e and \u003ccode\u003eDATA_MATRIX\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eValueFormat\u003c/code\u003e property includes possible encoded information such as \u003ccode\u003eURL\u003c/code\u003e, \u003ccode\u003eTEXT\u003c/code\u003e, \u003ccode\u003eEMAIL\u003c/code\u003e, \u003ccode\u003ePHONE\u003c/code\u003e and more.\u003c/p\u003e\n"]]],[],null,["# Cloud Document AI v1beta3 API - Class Barcode (2.0.0-beta26)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta26 (latest)](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.Barcode)\n- [2.0.0-beta25](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/2.0.0-beta25/Google.Cloud.DocumentAI.V1Beta3.Barcode)\n- [1.0.0-beta04](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/1.0.0-beta04/Google.Cloud.DocumentAI.V1Beta3.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 v1beta3 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.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.Barcode), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Barcode](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.Barcode), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Barcode](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.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.V1Beta3](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3)\n\nAssembly\n--------\n\nGoogle.Cloud.DocumentAI.V1Beta3.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."]]