public sealed class Matrix : IMessage<Document.Types.Page.Types.Matrix>, IEquatable<Document.Types.Page.Types.Matrix>, IDeepCloneable<Document.Types.Page.Types.Matrix>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Document AI v1 API class Document.Types.Page.Types.Matrix.
Representation for transformation matrix, intended to be compatible and
used with OpenCV format for image manipulation.
[[["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\u003eThis webpage provides reference documentation for the \u003ccode\u003eDocument.Types.Page.Types.Matrix\u003c/code\u003e class within the Cloud Document AI v1 API for .NET, detailing its purpose for representing transformation matrices.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMatrix\u003c/code\u003e class is part of the \u003ccode\u003eGoogle.Cloud.DocumentAI.V1\u003c/code\u003e namespace and is implemented using 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 documentation includes a list of available versions of the \u003ccode\u003eMatrix\u003c/code\u003e class, ranging from version 1.0.0 up to the latest version 3.19.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMatrix\u003c/code\u003e class offers two constructors: a default constructor \u003ccode\u003eMatrix()\u003c/code\u003e and another one \u003ccode\u003eMatrix(Document.Types.Page.Types.Matrix other)\u003c/code\u003e for creating a copy of an existing matrix.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eMatrix\u003c/code\u003e class include \u003ccode\u003eCols\u003c/code\u003e, \u003ccode\u003eRows\u003c/code\u003e, \u003ccode\u003eType\u003c/code\u003e, and \u003ccode\u003eData\u003c/code\u003e, which respectively define the number of columns and rows, the data type, and the matrix data itself.\u003c/p\u003e\n"]]],[],null,[]]