Aspose::Page::Font::DrFont::GetTextWidthPoints methode

DrFont::GetTextWidthPoints(System::String) method

Haalt de tekstbreedte op in punten.

float Aspose::Page::Font::DrFont::GetTextWidthPoints(System::String text)
ParameterTypeBeschrijving
textSystem::StringDe tekst om te berekenen.

ReturnValue

Retourneert breedte

Zie ook

DrFont::GetTextWidthPoints(System::String, int32_t, int32_t) method

Haalt de tekstbreedte op in punten.

float Aspose::Page::Font::DrFont::GetTextWidthPoints(System::String text, int32_t startIndex, int32_t charCount)
ParameterTypeBeschrijving
textSystem::StringDe tekst om te berekenen.
startIndexint32_tDe startindex.
charCountint32_tHet aantal tekens.

ReturnValue

Retourneert breedte

Zie ook