Aspose::Page::Font::DrFont::GetTextWidthPoints método

DrFont::GetTextWidthPoints(System::String) method

Obtiene el ancho del texto en puntos.

float Aspose::Page::Font::DrFont::GetTextWidthPoints(System::String text)
ParámetroTipoDescripción
textSystem::StringEl texto a calcular.

ReturnValue

Devuelve el ancho

Ver también

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

Obtiene el ancho del texto en puntos.

float Aspose::Page::Font::DrFont::GetTextWidthPoints(System::String text, int32_t startIndex, int32_t charCount)
ParámetroTipoDescripción
textSystem::StringEl texto a calcular.
startIndexint32_tEl índice inicial.
charCountint32_tEl recuento de caracteres.

ReturnValue

Devuelve el ancho

Ver también