public sealed class Document.Types.Style : IMessage<Document.Types.Style>, IEquatable<Document.Types.Style>, IDeepCloneable<Document.Types.Style>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Document AI v1beta3 API class Document.Types.Style.
Annotation for common text style attributes. This adheres to CSS
conventions as much as possible.
[[["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 is for the \u003ccode\u003eDocument.Types.Style\u003c/code\u003e class within the Google Cloud Document AI v1beta3 API, providing reference and code samples.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDocument.Types.Style\u003c/code\u003e class represents text style attributes, following CSS conventions, and is a sealed class inheriting from \u003ccode\u003eobject\u003c/code\u003e and implementing several interfaces such as \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 offers properties like \u003ccode\u003eBackgroundColor\u003c/code\u003e, \u003ccode\u003eColor\u003c/code\u003e, \u003ccode\u003eFontFamily\u003c/code\u003e, \u003ccode\u003eFontSize\u003c/code\u003e, \u003ccode\u003eFontWeight\u003c/code\u003e, \u003ccode\u003eTextAnchor\u003c/code\u003e, \u003ccode\u003eTextDecoration\u003c/code\u003e, and \u003ccode\u003eTextStyle\u003c/code\u003e, allowing for detailed customization of text appearance.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for creating instances of \u003ccode\u003eDocument.Types.Style\u003c/code\u003e, one default and another that accepts an existing \u003ccode\u003eDocument.Types.Style\u003c/code\u003e object for cloning.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version is \u003ccode\u003e2.0.0-beta23\u003c/code\u003e of this documentation of the class, with other versions being \u003ccode\u003e2.0.0-beta22\u003c/code\u003e and \u003ccode\u003e1.0.0-beta04\u003c/code\u003e also available to view.\u003c/p\u003e\n"]]],[],null,[]]