Aspose::Pdf::Annotations::FreeTextAnnotation::SetTextStyle método
Contenido
[
Ocultar
]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ámetro | Tipo | Descripción |
|---|---|---|
| fromInd | int32_t | Índice inicial del fragmento de texto (desde 0). |
| toInd | int32_t | Índice final del fragmento de texto (contando desde 0, este no está incluido). |
| textStyles | RichTextFontStyles | Estilo(s) aplicado(s) al fragmento de texto. |
Ver también
- Enum RichTextFontStyles
- Class FreeTextAnnotation
- Namespace Aspose::Pdf::Annotations
- Library Aspose.PDF for C++
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ámetro | Tipo | Descripción |
|---|---|---|
| textStyles | RichTextFontStyles | Estilo(s) aplicado(s) al texto de la anotación. |
| fontName | const System::String& | Nombre de fuente aplicado al texto de la anotación. |
| fontSize | double | Tamaño de fuente aplicado al texto de la anotación. |
| fontColor | System::Drawing::Color | Color de fuente aplicado al texto de la anotación. |
Ver también
- Enum RichTextFontStyles
- Class String
- Class Color
- Class FreeTextAnnotation
- Namespace Aspose::Pdf::Annotations
- Library Aspose.PDF for C++