Aspose::Page::Font::DrFont::GetTextWidthPoints metodo
DrFont::GetTextWidthPoints(System::String) method
Ottiene la larghezza del testo in punti.
float Aspose::Page::Font::DrFont::GetTextWidthPoints(System::String text)
| Parametro | Tipo | Descrizione |
|---|---|---|
| text | System::String | Il testo da calcolare. |
ReturnValue
Restituisce la larghezza
Vedi anche
- Class String
- Class DrFont
- Namespace Aspose::Page::Font
- Library Aspose.Page for C++
DrFont::GetTextWidthPoints(System::String, int32_t, int32_t) method
Ottiene la larghezza del testo in punti.
float Aspose::Page::Font::DrFont::GetTextWidthPoints(System::String text, int32_t startIndex, int32_t charCount)
| Parametro | Tipo | Descrizione |
|---|---|---|
| text | System::String | Il testo da calcolare. |
| startIndex | int32_t | L’indice di inizio. |
| charCount | int32_t | Il conteggio dei caratteri. |
ReturnValue
Restituisce la larghezza
Vedi anche
- Class String
- Class DrFont
- Namespace Aspose::Page::Font
- Library Aspose.Page for C++