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 documentation for the \u003ccode\u003eDocument.Types.Page.Types.Matrix\u003c/code\u003e class within the Google Cloud Document AI v1 API for .NET, covering versions from 1.0.0 to 3.19.0 (latest).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMatrix\u003c/code\u003e class is used to represent a transformation matrix that can be used with the OpenCV format for image manipulation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMatrix\u003c/code\u003e 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.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eMatrix\u003c/code\u003e class include \u003ccode\u003eCols\u003c/code\u003e (number of columns), \u003ccode\u003eData\u003c/code\u003e (matrix data), \u003ccode\u003eRows\u003c/code\u003e (number of rows), and \u003ccode\u003eType\u003c/code\u003e (data type encoding).\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors provided for creating a \u003ccode\u003eMatrix\u003c/code\u003e object, one default and one that takes an existing \u003ccode\u003eMatrix\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]