Aspose::Page::Font::DrFont::GetTextWidthPoints method
DrFont::GetTextWidthPoints(System::String) method
Mendapatkan lebar teks dalam poin.
float Aspose::Page::Font::DrFont::GetTextWidthPoints(System::String text)
| Parameter | Tipe | Deskripsi |
|---|---|---|
| text | System::String | Teks yang akan dihitung. |
ReturnValue
Mengembalikan lebar
Lihat Juga
- Class String
- Class DrFont
- Namespace Aspose::Page::Font
- Library Aspose.Page for C++
DrFont::GetTextWidthPoints(System::String, int32_t, int32_t) method
Mendapatkan lebar teks dalam poin.
float Aspose::Page::Font::DrFont::GetTextWidthPoints(System::String text, int32_t startIndex, int32_t charCount)
| Parameter | Tipe | Deskripsi |
|---|---|---|
| text | System::String | Teks yang akan dihitung. |
| startIndex | int32_t | Indeks awal. |
| charCount | int32_t | Jumlah karakter. |
ReturnValue
Mengembalikan lebar
Lihat Juga
- Class String
- Class DrFont
- Namespace Aspose::Page::Font
- Library Aspose.Page for C++