Class PdfStaticField
Represents automatic field which value can be evaluated in the moment of creation.
Inherited Members
Namespace: Syncfusion.Pdf
Assembly: Syncfusion.Pdf.NET.dll
Syntax
public abstract class PdfStaticField : PdfAutomaticField
Constructors
PdfStaticField()
Initializes a new instance of the PdfStaticField class.
Declaration
public PdfStaticField()
PdfStaticField(PdfFont)
Initializes a new instance of the PdfStaticField class with PdfFont
Declaration
public PdfStaticField(PdfFont font)
Parameters
Type | Name | Description |
---|---|---|
PdfFont | font | The PdfFont represents the format of the text. |
PdfStaticField(PdfFont, RectangleF)
Initializes a new instance of the PdfStaticField class with PdfFont and bounds
Declaration
public PdfStaticField(PdfFont font, RectangleF bounds)
Parameters
Type | Name | Description |
---|---|---|
PdfFont | font | The PdfFont represents the format of the text. |
RectangleF | bounds | The Rectangle bounds. |
PdfStaticField(PdfFont, PdfBrush)
Initializes a new instance of the PdfStaticField class with PdfFont and PdfBrush
Declaration
public PdfStaticField(PdfFont font, PdfBrush brush)
Parameters
Type | Name | Description |
---|---|---|
PdfFont | font | The PdfFont represents the format of the text. |
PdfBrush | brush | The PdfBrush provides color and texture to the text. |
Methods
PerformDraw(PdfGraphics, PointF, Single, Single)
Performs draw.
Declaration
protected override void PerformDraw(PdfGraphics graphics, PointF location, float scalingX, float scalingY)
Parameters
Type | Name | Description |
---|---|---|
PdfGraphics | graphics | The graphics. |
PointF | location | The location. |
System.Single | scalingX | The scaling X. |
System.Single | scalingY | The scaling Y. |
Overrides
Syncfusion.Pdf.PdfAutomaticField.PerformDraw(Syncfusion.Pdf.Graphics.PdfGraphics, Syncfusion.Drawing.PointF, System.Single, System.Single)