Matrix.Parse(String) 메서드

정의

행렬의 표현을 String 동일한 Matrix 구조체로 변환합니다.

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

매개 변수

source
String

String 행렬의 표현입니다.

반품

동등한 구조체입니다 Matrix .

예제

다음 예제에서는 행렬의 문자열 표현을 구조체로 변환하는 Matrix 방법을 보여줍니다.

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;
}

적용 대상