DataWriter.MeasureString(String) Method

Definition

Gets the size of a string.

public:
 virtual unsigned int MeasureString(Platform::String ^ value) = MeasureString;
unsigned int MeasureString(winrt::hstring const & value);
public uint MeasureString(string value);
function measureString(value)
Public Function MeasureString (value As String) As UInteger

Parameters

value
String

The string.

Returns

UInt32

The size of the string, in bytes.

Implements

Applies to