Class PdfStyle
Defines pdf cell style
Inheritance
System.Object
PdfStyle
Implements
System.IEquatable<PdfStyle>
Namespace: Syncfusion.Blazor.Grids
Assembly: Syncfusion.Blazor.dll
Syntax
public class PdfStyle : Object, IEquatable<PdfStyle>
Constructors
PdfStyle()
Declaration
public PdfStyle()
Properties
BackgroundColor
Defines the background color
Declaration
public string BackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Bold
Defines the font bold
Declaration
public bool Bold { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Border
Defines the grid border
Declaration
public PdfBorder Border { get; set; }
Property Value
Type | Description |
---|---|
PdfBorder |
CellPadding
Declaration
public object CellPadding { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
FontFamily
Defines the font family
Declaration
public string FontFamily { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FontSize
Defines the font size
Declaration
public double FontSize { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Indent
Defines the indent alignment
Declaration
public PdfHorizontalAlign Indent { get; set; }
Property Value
Type | Description |
---|---|
PdfHorizontalAlign |
Italic
Defines the italic font
Declaration
public bool Italic { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ParagraphIndent
Defines the cell indent
Declaration
public double ParagraphIndent { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Strikeout
Defines the strike-out font
Declaration
public bool Strikeout { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
TextAlignment
Defines the horizontal alignment
Declaration
public PdfHorizontalAlign TextAlignment { get; set; }
Property Value
Type | Description |
---|---|
PdfHorizontalAlign |
TextBrushColor
Defines the brush color of font
Declaration
public string TextBrushColor { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TextPenColor
Defines the pen color of font
Declaration
public string TextPenColor { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Underline
Defines the underlined font
Declaration
public bool Underline { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
VerticalAlignment
Defines the horizontal alignment
Declaration
public PdfVerticalAlign VerticalAlignment { get; set; }
Property Value
Type | Description |
---|---|
PdfVerticalAlign |
Methods
Equals(PdfStyle)
Declaration
public bool Equals(PdfStyle pdfStyle)
Parameters
Type | Name | Description |
---|---|---|
PdfStyle | pdfStyle |
Returns
Type | Description |
---|---|
System.Boolean |
Implements
System.IEquatable<>