![]() |
NanoXLSX.Formatting 3.0.0
|
Represents phonetic properties, applied to the phonetic runs of a formatted text. More...
Public Member Functions | |
| PhoneticProperties (Font fontReference) | |
| Default constructor to create phonetic properties, using the specified font reference. | |
| PhoneticProperties | Copy () |
| Creates a copy of the current phonetic properties. | |
| override bool | Equals (object obj) |
| Equals override to compare phonetic properties. | |
| override int | GetHashCode () |
| HashCode override for phonetic properties. | |
Properties | |
| Font | FontReference [get, set] |
| Font reference that is used to render the Ruby text. | |
| int | FontId [get, set] |
| Internal Id of the font used for phonetic text. | |
| PhoneticRun.PhoneticType | Type = PhoneticRun.PhoneticType.FullwidthKatakana [get, set] |
| The type of phonetic text representation. Default is FullwidthKatakana. | |
| PhoneticRun.PhoneticAlignment | Alignment = PhoneticRun.PhoneticAlignment.Left [get, set] |
| Alignment of the phonetic text relative to the base text. Default is Left. | |
Represents phonetic properties, applied to the phonetic runs of a formatted text.
Definition at line 16 of file PhoneticProperties.cs.
| NanoXLSX.Extensions.PhoneticProperties.PhoneticProperties | ( | Font | fontReference | ) |
Default constructor to create phonetic properties, using the specified font reference.
| fontReference | Font reference. If null, a default font reference number will be selected, probably 0 |
Definition at line 40 of file PhoneticProperties.cs.
| PhoneticProperties NanoXLSX.Extensions.PhoneticProperties.Copy | ( | ) |
Creates a copy of the current phonetic properties.
Definition at line 49 of file PhoneticProperties.cs.
| override bool NanoXLSX.Extensions.PhoneticProperties.Equals | ( | object | obj | ) |
Equals override to compare phonetic properties.
| obj | Other object to compare |
Definition at line 63 of file PhoneticProperties.cs.
| override int NanoXLSX.Extensions.PhoneticProperties.GetHashCode | ( | ) |
HashCode override for phonetic properties.
Definition at line 76 of file PhoneticProperties.cs.
|
getset |
Alignment of the phonetic text relative to the base text. Default is Left.
Definition at line 34 of file PhoneticProperties.cs.
|
getset |
Internal Id of the font used for phonetic text.
Definition at line 26 of file PhoneticProperties.cs.
|
getset |
Font reference that is used to render the Ruby text.
Definition at line 21 of file PhoneticProperties.cs.
|
getset |
The type of phonetic text representation. Default is FullwidthKatakana.
Definition at line 30 of file PhoneticProperties.cs.