Aspose::Page::Font::DrFont::GetTextWidthPoints metodo

DrFont::GetTextWidthPoints(System::String) method

Ottiene la larghezza del testo in punti.

float Aspose::Page::Font::DrFont::GetTextWidthPoints(System::String text)
ParametroTipoDescrizione
textSystem::StringIl testo da calcolare.

ReturnValue

Restituisce la larghezza

Vedi anche

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

Ottiene la larghezza del testo in punti.

float Aspose::Page::Font::DrFont::GetTextWidthPoints(System::String text, int32_t startIndex, int32_t charCount)
ParametroTipoDescrizione
textSystem::StringIl testo da calcolare.
startIndexint32_tL’indice di inizio.
charCountint32_tIl conteggio dei caratteri.

ReturnValue

Restituisce la larghezza

Vedi anche