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
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.