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 구조체입니다.

예제

다음 예제에서는으로 행렬의 문자열 표현을 변환 하는 방법을 보여 줍니다는 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;
}

적용 대상