Aspose::Page::Font::DrFont::GetTextWidthPoints طريقة
DrFont::GetTextWidthPoints(System::String) method
يحصل على عرض النص بالنقاط.
float Aspose::Page::Font::DrFont::GetTextWidthPoints(System::String text)
| Parameter | Type | الوصف |
|---|---|---|
| text | System::String | النص المراد حسابه. |
ReturnValue
إرجاع العرض
انظر أيضًا
- Class String
- Class DrFont
- Namespace Aspose::Page::Font
- Library Aspose.Page for C++
DrFont::GetTextWidthPoints(System::String, int32_t, int32_t) method
يحصل على عرض النص بالنقاط.
float Aspose::Page::Font::DrFont::GetTextWidthPoints(System::String text, int32_t startIndex, int32_t charCount)
| Parameter | Type | الوصف |
|---|---|---|
| text | System::String | النص المراد حسابه. |
| startIndex | int32_t | فهرس البداية. |
| charCount | int32_t | عدد الأحرف. |
ReturnValue
إرجاع العرض
انظر أيضًا
- Class String
- Class DrFont
- Namespace Aspose::Page::Font
- Library Aspose.Page for C++