Aspose::Pdf::Annotations::FreeTextAnnotation::SetTextStyle método

FreeTextAnnotation::SetTextStyle(int32_t, int32_t, RichTextFontStyles) method

Establece el formato determinado por el parámetro textStyle para un fragmento de texto desde el índice fromInd hasta el índice toInd.

void Aspose::Pdf::Annotations::FreeTextAnnotation::SetTextStyle(int32_t fromInd, int32_t toInd, RichTextFontStyles textStyles)
ParámetroTipoDescripción
fromIndint32_tÍndice inicial del fragmento de texto (desde 0).
toIndint32_tÍndice final del fragmento de texto (contando desde 0, este no está incluido).
textStylesRichTextFontStylesEstilo(s) aplicado(s) al fragmento de texto.

Ver también

FreeTextAnnotation::SetTextStyle(RichTextFontStyles, const System::String&, double, System::Drawing::Color) method

Establece el formato determinado por el parámetro textStyle para todo el texto de la anotación.

void Aspose::Pdf::Annotations::FreeTextAnnotation::SetTextStyle(RichTextFontStyles textStyles, const System::String &fontName, double fontSize, System::Drawing::Color fontColor)
ParámetroTipoDescripción
textStylesRichTextFontStylesEstilo(s) aplicado(s) al texto de la anotación.
fontNameconst System::String&Nombre de fuente aplicado al texto de la anotación.
fontSizedoubleTamaño de fuente aplicado al texto de la anotación.
fontColorSystem::Drawing::ColorColor de fuente aplicado al texto de la anotación.

Ver también