IDataWriter.MeasureString(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the size of a string.
public:
unsigned int MeasureString(Platform::String ^ value);
uint32_t MeasureString(winrt::hstring const& value);
public uint MeasureString(string value);
function measureString(value)
Public Function MeasureString (value As String) As UInteger
Parameters
- value
-
String
Platform::String
winrt::hstring
The string.
Returns
The size of the string, in bytes.