Partager via


ExtensionMethods.ToDimensionString(Size) Method

Definition

Returns a string for size, as "{width}x{height}"

public:
[System::Runtime::CompilerServices::Extension]
 static System::String ^ ToDimensionString(System::Windows::Size size);
public static string ToDimensionString (this System.Windows.Size size);
static member ToDimensionString : System.Windows.Size -> string
<Extension()>
Public Function ToDimensionString (size As Size) As String

Parameters

size
Size

The size to turn into a string

Returns

Applies to