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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.