Initializes a new instance of the
TextStyle class.
Namespace: GroupDocs.Parser.DataAssembly: GroupDocs.Parser (in GroupDocs.Parser.dll) Version: 21.2.0
Syntaxpublic TextStyle(
string name,
string fontName,
double fontSize,
bool isBold,
bool isItalic
)
Public Sub New (
name As String,
fontName As String,
fontSize As Double,
isBold As Boolean,
isItalic As Boolean
)
public:
TextStyle(
String^ name,
String^ fontName,
double fontSize,
bool isBold,
bool isItalic
)
new :
name : string *
fontName : string *
fontSize : float *
isBold : bool *
isItalic : bool -> TextStyle
Parameters
- name
- Type: SystemString
The name of the style. - fontName
- Type: SystemString
The name of the font. - fontSize
- Type: SystemDouble
The size of the font. - isBold
- Type: SystemBoolean
The value that indicates whether the font is bold. - isItalic
- Type: SystemBoolean
The value that indicates whether the font is italic.
See Also