TextStyle
General
TextStyle és una classe en Aspose.Note per Python.
TextStyle.Default returns a TextStyle instance initialized with default formatting.
Propietats
| Nom | Tipus de productes | Accés | Descripció |
|---|---|---|---|
IsHyperlink | bool | Llegeix. | Indica si el text és un hipervincle. |
HyperlinkAddress | `str | None` | Llegeix. |
FontName | `str | None` | Llegeix. |
FontSize | `float | None` | Llegeix. |
FontColor | `int | None` | Llegeix. |
Highlight | `int | None` | Llegeix. |
Language | `int | None` | Llegeix. |
IsBold | bool | Llegeix. | Indica si el text està traduït en negrit. |
IsItalic | bool | Llegeix. | Indica si el text està traduït en cursiva. |
IsUnderline | bool | Llegeix. | Indica si el text està subratllat. |
IsStrikethrough | bool | Llegeix. | Indica si el text té un passatge de marca. |
IsSuperscript | bool | Llegeix. | Indica si el text és superscript. |
IsSubscript | bool | Llegeix. | Indica si el text és subcrit. |
IsHidden | bool | Llegeix. | Indica si el text està amagat. |
IsMathFormatting | bool | Llegeix. | Indica si el text utilitza formatatge matemàtic. |
FontStyle | int | Llegeix. | Emmagatzemar les banderes numèriques que representen els atributs de tipus de font combinats. |
Mètodes
| Signatura | Descripció |
|---|---|
| `init(IsHyperlink: bool, HyperlinkAddress: str | None, FontName: str |
Default() → TextStyle | Retorna una instància TextStyle iniciada amb formatatge predeterminat |
DefaultMsOneNoteTitleTextStyle() → TextStyle | Retorna un preconfigurat per al text de títol TextStyle |
DefaultMsOneNoteTitleDateStyle() → TextStyle | Retorna un preconfigurat per a la data de títol OneNote |
DefaultMsOneNoteTitleTimeStyle() → TextStyle | Retorna un preconfigurat per a l’hora de títol TextStyle |