[]
Create font using document font with real data.
public static Font Create(Font font, float sizeInPoints, FontStyle style = FontStyle.Regular)
| Type | Name | Description |
|---|---|---|
| Font | font | The document font with real data |
| float | sizeInPoints | The font size in points. |
| FontStyle | style | Font style attributes. |
| Type | Description |
|---|---|
| Font | The font object. |
Create font using document font with real data.
public static Font Create(string fontName, float sizeInPoints, FontStyle style = FontStyle.Regular)
| Type | Name | Description |
|---|---|---|
| string | fontName | The document font with real data. |
| float | sizeInPoints | The font size in points. |
| FontStyle | style | Font style attributes. |
| Type | Description |
|---|---|
| Font | The font object. |
Create font using document font with real data.
public static Font Create(XLFont xlf)
| Type | Name | Description |
|---|---|---|
| XLFont | xlf | The C1.Excel.XLFont object. |
| Type | Description |
|---|---|
| Font | The font object. |