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ètre | Type | Description |
|---|---|---|
| text | System::String | Le texte à calculer. |
ReturnValue
Renvoie la largeur
Voir aussi
- Class String
- Class DrFont
- Namespace Aspose::Page::Font
- Library Aspose.Page for C++
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ètre | Type | Description |
|---|---|---|
| text | System::String | Le texte à calculer. |
| startIndex | int32_t | L’index de départ. |
| charCount | int32_t | Le nombre de caractères. |
ReturnValue
Renvoie la largeur
Voir aussi
- Class String
- Class DrFont
- Namespace Aspose::Page::Font
- Library Aspose.Page for C++