Aspose::Font::Ttf::TtfFontMetrics::MeasureString method
TtfFontMetrics::MeasureString(System::ArrayPtr<uint32_t>, double) method
Karakter kodları dizisi olarak temsil edilen metni ölçer ve dize genişliğini döndürür.
double Aspose::Font::Ttf::TtfFontMetrics::MeasureString(System::ArrayPtr<uint32_t> charCodes, double fontSize)
| Parametre | Tür | Açıklama |
|---|---|---|
| charCodes | System::ArrayPtr<uint32_t> | Karakter kodları dizisi olarak temsil edilen metin dizesi. |
| fontSize | double | Font boyutu. |
ReturnValue
Dize genişliği.
Ayrıca Bakınız
- Typedef ArrayPtr
- Class TtfFontMetrics
- Namespace Aspose::Font::Ttf
- Library Aspose.Font for C++
TtfFontMetrics::MeasureString(System::String, double) method
Dizeyi ölçer ve dize genişliğini döndürür.
double Aspose::Font::Ttf::TtfFontMetrics::MeasureString(System::String unicode, double fontSize) override
| Parametre | Tür | Açıklama |
|---|---|---|
| unicode | System::String | Unicode dizesi. |
| fontSize | double | Font boyutu. |
ReturnValue
Dize genişliği.
Ayrıca Bakınız
- Class String
- Class TtfFontMetrics
- Namespace Aspose::Font::Ttf
- Library Aspose.Font for C++