Class PdfGridFont
Defines pdf grid font options.
Inherited Members
Namespace: Syncfusion.Blazor.Grids
Assembly: Syncfusion.Blazor.Grids.dll
Syntax
public class PdfGridFont
Constructors
PdfGridFont()
Declaration
public PdfGridFont()
Properties
FontFamily
Defines the font family of font content. Value can be either PdfStandardFont or TrueTypeFont.
Declaration
public object? FontFamily { get; set; }
Property Value
| Type |
|---|
| object |
FontSize
Defines the fontSize of font content.
Declaration
public double FontSize { get; set; }
Property Value
| Type |
|---|
| double |
FontStyle
Defines the fontStyle of font content.
Declaration
public PdfFontStyle?? FontStyle { get; set; }
Property Value
| Type |
|---|
| PdfFontStyle? |
IsTrueType
Defines the trueTypeFont is enabled or not for font content.
Declaration
public bool IsTrueType { get; set; }
Property Value
| Type |
|---|
| bool |
TextColor
Gets or sets the color of the text in the exported PDF.
Declaration
public string? TextColor { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A string representing the color name, RGB code, or hexadecimal code for the PDF export. |
Remarks
This property specifies the color used for text in the exported PDF document. It accepts color values in various formats, such as color names (e.g., "Red"), RGB codes (e.g., "255,0,0"), or hexadecimal codes (e.g., "#FF0000").
TextHighlightColor
Gets or sets the highlight color of the text in the exported PDF.
Declaration
public string? TextHighlightColor { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A string representing the color name, RGB code, or hexadecimal code for the PDF export. |
Remarks
This property specifies the color used to highlight text in the exported PDF document. It accepts color values in various formats, such as color names (e.g., "Red"), RGB codes (e.g., "255,0,0"), or hexadecimal codes (e.g., "#FF0000").