Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PdfStaticField

    Show / Hide Table of Contents

    Class PdfStaticField

    Represents automatic field which value can be evaluated in the moment of creation.

    Inheritance
    System.Object
    PdfGraphicsElement
    PdfAutomaticField
    PdfStaticField
    PdfDateTimeField
    Inherited Members
    PdfAutomaticField.Bounds
    PdfAutomaticField.Size
    PdfAutomaticField.Location
    PdfAutomaticField.Font
    PdfAutomaticField.Brush
    PdfAutomaticField.Pen
    PdfAutomaticField.StringFormat
    PdfGraphicsElement.Draw(PdfGraphics)
    PdfGraphicsElement.Draw(PdfGraphics, PointF)
    PdfGraphicsElement.Draw(PdfGraphics, Single, Single)
    Namespace: Syncfusion.Pdf
    Assembly: Syncfusion.Pdf.Portable.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)

    See Also

    PdfAutomaticField
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved