Aspose::Page::Font::DrFont::GetTextWidthPoints método
DrFont::GetTextWidthPoints(System::String) method
Obtiene el ancho del texto en puntos.
float Aspose::Page::Font::DrFont::GetTextWidthPoints(System::String text)
| Parámetro | Tipo | Descripción |
|---|---|---|
| text | System::String | El texto a calcular. |
ReturnValue
Devuelve el ancho
Ver también
- Class String
- Class DrFont
- Namespace Aspose::Page::Font
- Library Aspose.Page for C++
DrFont::GetTextWidthPoints(System::String, int32_t, int32_t) method
Obtiene el ancho del texto en puntos.
float Aspose::Page::Font::DrFont::GetTextWidthPoints(System::String text, int32_t startIndex, int32_t charCount)
| Parámetro | Tipo | Descripción |
|---|---|---|
| text | System::String | El texto a calcular. |
| startIndex | int32_t | El índice inicial. |
| charCount | int32_t | El recuento de caracteres. |
ReturnValue
Devuelve el ancho
Ver también
- Class String
- Class DrFont
- Namespace Aspose::Page::Font
- Library Aspose.Page for C++