Class PdfElementStyle
Represents a class that provides style configuration for elements in a PDF document.
Namespace: Syncfusion.Blazor.Grids
Assembly: Syncfusion.Blazor.dll
Syntax
public class PdfElementStyle : PdfTextStyle
Constructors
PdfElementStyle()
Declaration
public PdfElementStyle()
Properties
Border
Gets or sets the border style configuration of the header or footer in the exported PDF.
Declaration
public PdfBorder Border { get; set; }
Property Value
Type | Description |
---|---|
PdfBorder | An instance of PdfBorder. |
Image
Gets or sets the image to be included in the exported PDF.
Declaration
public PdfImage Image { get; set; }
Property Value
Type | Description |
---|---|
Syncfusion.PdfExport.PdfImage | An instance of Syncfusion.PdfExport.PdfImage. |
ImagePosition
Gets or sets the position of the image drawn in the exported PDF.
Declaration
public PdfPosition ImagePosition { get; set; }
Property Value
Type | Description |
---|---|
PdfPosition | An instance of PdfPosition representing the horizontal (X) and vertical (Y) alignment of the image within the exported Pdf.
The coordinates are defined as follows:
|
Padding
Gets or sets the cell padding of the content in the exported PDF.
Declaration
public PdfPaddings Padding { get; set; }
Property Value
Type | Description |
---|---|
Syncfusion.PdfExport.PdfPaddings | An instance of Syncfusion.PdfExport.PdfPaddings. |