Aspose::Page::Font::DrFont::GetTextWidthPoints method

DrFont::GetTextWidthPoints(System::String) method

Gets the text width points.

float Aspose::Page::Font::DrFont::GetTextWidthPoints(System::String text)
ParameterTypeDescription
textSystem::StringThe text to calculate.

ReturnValue

Returns width

See Also

DrFont::GetTextWidthPoints(System::String, int32_t, int32_t) method

Gets the text width points.

float Aspose::Page::Font::DrFont::GetTextWidthPoints(System::String text, int32_t startIndex, int32_t charCount)
ParameterTypeDescription
textSystem::StringThe text to calculate.
startIndexint32_tThe start index.
charCountint32_tThe char count.

ReturnValue

Returns width

See Also