Matrix.ToString Method

Definition

Creates a String representation of this Matrix structure.

Overloads

ToString()

Creates a String representation of this Matrix structure.

ToString(IFormatProvider)

Creates a String representation of this Matrix structure with culture-specific formatting information.

Remarks

If this Matrix structure is an identity matrix, the string "Identity" is returned.

ToString()

Creates a String representation of this Matrix structure.

public:
 override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String

Returns

A String containing the M11, M12, M21, M22, OffsetX, and OffsetY values of this Matrix.

Remarks

If this Matrix is an Identity matrix, the string "Identity" is returned.

Applies to

ToString(IFormatProvider)

Creates a String representation of this Matrix structure with culture-specific formatting information.

public:
 System::String ^ ToString(IFormatProvider ^ provider);
public string ToString (IFormatProvider provider);
override this.ToString : IFormatProvider -> string
Public Function ToString (provider As IFormatProvider) As String

Parameters

provider
IFormatProvider

The culture-specific formatting information.

Returns

A String containing the M11, M12, M21, M22, OffsetX, and OffsetY values of this Matrix.

Remarks

If this Matrix structure is an identity matrix, the string "Identity" is returned.

Applies to