Class PdfStaticField
Represents automatic field which value can be evaluated in the moment of creation.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.Pdf
Assembly: Syncfusion.Pdf.Base.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, 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. |
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. |
System.Drawing.RectangleF | bounds | The Rectangle bounds. |
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. |
System.Drawing.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, System.Drawing.PointF, System.Single, System.Single)