public sealed class OcrConfig.Types.PremiumFeatures : IMessage<OcrConfig.Types.PremiumFeatures>, IEquatable<OcrConfig.Types.PremiumFeatures>, IDeepCloneable<OcrConfig.Types.PremiumFeatures>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Document AI v1beta3 API class OcrConfig.Types.PremiumFeatures.
[[["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\u003eThis documentation provides details for the \u003ccode\u003eOcrConfig.Types.PremiumFeatures\u003c/code\u003e class within the Cloud Document AI v1beta3 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eOcrConfig.Types.PremiumFeatures\u003c/code\u003e offers configurations for enhancing OCR capabilities, and is implemented through several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has constructors that allow for creating new instances or copies of \u003ccode\u003ePremiumFeatures\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003ePremiumFeatures\u003c/code\u003e class include \u003ccode\u003eComputeStyleInfo\u003c/code\u003e, \u003ccode\u003eEnableMathOcr\u003c/code\u003e, and \u003ccode\u003eEnableSelectionMarkDetection\u003c/code\u003e, which control font identification, LaTeX math formula extraction, and selection mark detection, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the documentation available, with \u003ccode\u003e2.0.0-beta23\u003c/code\u003e being the latest.\u003c/p\u003e\n"]]],[],null,["# Cloud Document AI v1beta3 API - Class OcrConfig.Types.PremiumFeatures (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.OcrConfig.Types.PremiumFeatures)\n- [2.0.0-beta25](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/2.0.0-beta25/Google.Cloud.DocumentAI.V1Beta3.OcrConfig.Types.PremiumFeatures)\n- [1.0.0-beta04](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/1.0.0-beta04/Google.Cloud.DocumentAI.V1Beta3.OcrConfig.Types.PremiumFeatures) \n\n public sealed class OcrConfig.Types.PremiumFeatures : IMessage\u003cOcrConfig.Types.PremiumFeatures\u003e, IEquatable\u003cOcrConfig.Types.PremiumFeatures\u003e, IDeepCloneable\u003cOcrConfig.Types.PremiumFeatures\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Document AI v1beta3 API class OcrConfig.Types.PremiumFeatures.\n\nConfigurations for premium OCR features. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e OcrConfig.Types.PremiumFeatures \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[OcrConfig](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.OcrConfig)[Types](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.OcrConfig.Types)[PremiumFeatures](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.OcrConfig.Types.PremiumFeatures), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[OcrConfig](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.OcrConfig)[Types](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.OcrConfig.Types)[PremiumFeatures](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.OcrConfig.Types.PremiumFeatures), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[OcrConfig](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.OcrConfig)[Types](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.OcrConfig.Types)[PremiumFeatures](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.OcrConfig.Types.PremiumFeatures), [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### PremiumFeatures()\n\n public PremiumFeatures()\n\n### PremiumFeatures(PremiumFeatures)\n\n public PremiumFeatures(OcrConfig.Types.PremiumFeatures other)\n\nProperties\n----------\n\n### ComputeStyleInfo\n\n public bool ComputeStyleInfo { get; set; }\n\nTurn on font identification model and return font style information.\n\n### EnableMathOcr\n\n public bool EnableMathOcr { get; set; }\n\nTurn on the model that can extract LaTeX math formulas.\n\n### EnableSelectionMarkDetection\n\n public bool EnableSelectionMarkDetection { get; set; }\n\nTurn on selection mark detector in OCR engine. Only available in OCR 2.0\n(and later) processors."]]