Aspose::Page::Font::DrFont::GetTextWidthPoints méthode

DrFont::GetTextWidthPoints(System::String) method

Obtient la largeur du texte en points.

float Aspose::Page::Font::DrFont::GetTextWidthPoints(System::String text)
ParamètreTypeDescription
textSystem::StringLe texte à calculer.

ReturnValue

Renvoie la largeur

Voir aussi

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

Obtient la largeur du texte en points.

float Aspose::Page::Font::DrFont::GetTextWidthPoints(System::String text, int32_t startIndex, int32_t charCount)
ParamètreTypeDescription
textSystem::StringLe texte à calculer.
startIndexint32_tL’index de départ.
charCountint32_tLe nombre de caractères.

ReturnValue

Renvoie la largeur

Voir aussi