Aspose::Pdf::Text::Font::MeasureString method

Font::MeasureString method

Measures the string.

double Aspose::Pdf::Text::Font::MeasureString(System::String str, float fontSize)
ParameterTypeDescription
strSystem::StringThe string.
fontSizefloatFont size.

ReturnValue

Width of the string represented with this font and the specified size.

See Also