Aspose::Font::Ttf::TtfFontMetrics::MeasureString metodo
Contenuti
[
Nascondere
]TtfFontMetrics::MeasureString(System::ArrayPtr<uint32_t>, double) method
Misura il testo rappresentato come array di codici carattere e restituisce la larghezza della stringa.
double Aspose::Font::Ttf::TtfFontMetrics::MeasureString(System::ArrayPtr<uint32_t> charCodes, double fontSize)
| Parametro | Tipo | Descrizione |
|---|---|---|
| charCodes | System::ArrayPtr<uint32_t> | Stringa di testo rappresentata come array di codici carattere. |
| fontSize | double | dimensione Font. |
ReturnValue
Larghezza della stringa.
Vedi anche
- Typedef ArrayPtr
- Class TtfFontMetrics
- Namespace Aspose::Font::Ttf
- Library Aspose.Font for C++
TtfFontMetrics::MeasureString(System::String, double) method
Misura la stringa e restituisce la larghezza della stringa.
double Aspose::Font::Ttf::TtfFontMetrics::MeasureString(System::String unicode, double fontSize) override
| Parametro | Tipo | Descrizione |
|---|---|---|
| unicode | System::String | Stringa Unicode. |
| fontSize | double | dimensione Font. |
ReturnValue
Larghezza della stringa.
Vedi anche
- Class String
- Class TtfFontMetrics
- Namespace Aspose::Font::Ttf
- Library Aspose.Font for C++