Class PdfGridFont
Defines pdf grid font options.
Inheritance
Namespace: Syncfusion.Blazor.Grids
Assembly: Syncfusion.Blazor.dll
Syntax
public class PdfGridFont : Object
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 |
---|
System.Object |
FontSize
Defines the fontSize of font content.
Declaration
public double FontSize { get; set; }
Property Value
Type |
---|
System.Double |
FontStyle
Defines the fontStyle of font content.
Declaration
public Nullable<PdfFontStyle> FontStyle { get; set; }
Property Value
Type |
---|
System.Nullable<Syncfusion.PdfExport.PdfFontStyle> |
IsTrueType
Defines the trueTypeFont is enabled or not for font content.
Declaration
public bool IsTrueType { get; set; }
Property Value
Type |
---|
System.Boolean |
TextColor
Gets or sets the color of the text in the exported PDF.
Declaration
public string TextColor { get; set; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.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").