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
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.