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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.