Matrix.Parse(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
static System::Windows::Media::Matrix Parse(System::String ^ source);
public static System.Windows.Media.Matrix Parse (string source);
static member Parse : string -> System.Windows.Media.Matrix
Public Shared Function Parse (source As String) As Matrix
Parameters
Returns
The equivalent Matrix structure.
Examples
The following example shows how to convert a string representation of a matrix into a Matrix structure.
private Matrix parseExample()
{
Matrix result = Matrix.Parse("1, 2, 3, 4, 5, 6");
// result is equal to (1,2,3,4,5,6).
return result;
}
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.