Xceed PDF Library for .NET Documentation v1.0
Xceed.PdfLibrary.NET Assembly / Xceed.PdfLibrary.NET Namespace / DateTimeFormField Class
In This Topic
    DateTimeFormField Class
    In This Topic
    A date time form field.
    Object Model
    DateTimeFormField ClassBorder ClassRectangle StructureFormField ClassTextStyle Class
    Syntax
    public class DateTimeFormField : TextBoxBaseFormField 
    Inheritance Hierarchy

    System.Object
       Xceed.PdfLibrary.NET.FormField
          Xceed.PdfLibrary.NET.TextBoxBaseFormField
             Xceed.PdfLibrary.NET.DateTimeFormField

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the DateTimeFormField class.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets the name of the alternate. (Inherited from Xceed.PdfLibrary.NET.FormField)
    Public PropertyGets or sets the annotation flags. (Inherited from Xceed.PdfLibrary.NET.FormField)
    Public PropertyGets or sets the border. (Inherited from Xceed.PdfLibrary.NET.FormField)
    Public Property Location is Top-Left of FormField. It's more intuitive ! Going right is positive and going down is positive. (Inherited from Xceed.PdfLibrary.NET.FormField)
    Public PropertyGets or sets the color of the fill. (Inherited from Xceed.PdfLibrary.NET.FormField)
    Public Property Using the C# formatting : 'M' for months and 'm' for minutes. (PDF uses 'm' for months and 'M' for minutes)  
    Public PropertyGets or sets the horizontal text alignment. (Inherited from Xceed.PdfLibrary.NET.TextBoxBaseFormField)
    Public PropertyGets or sets a value indicating whether this instance is character spaced. (Inherited from Xceed.PdfLibrary.NET.TextBoxBaseFormField)
    Public PropertyGets or sets a value indicating whether this instance is check spelling. (Inherited from Xceed.PdfLibrary.NET.TextBoxBaseFormField)
    Public PropertyGets or sets a value indicating whether this instance is read only. (Inherited from Xceed.PdfLibrary.NET.FormField)
    Public PropertyGets or sets a value indicating whether this instance is required. (Inherited from Xceed.PdfLibrary.NET.FormField)
    Public PropertyGets or sets a value indicating whether this instance is scrolling long text. (Inherited from Xceed.PdfLibrary.NET.TextBoxBaseFormField)
    Public PropertyGets or sets the name of the mapping. (Inherited from Xceed.PdfLibrary.NET.FormField)
    Public PropertyGets or sets the maximum length. (Inherited from Xceed.PdfLibrary.NET.TextBoxBaseFormField)
    Public PropertyGets or sets the name. (Inherited from Xceed.PdfLibrary.NET.FormField)
    Public PropertyGets or sets the orientation. (Inherited from Xceed.PdfLibrary.NET.FormField)
    Public PropertyGets the page number. (Inherited from Xceed.PdfLibrary.NET.FormField)
    Public PropertyGets the parent. (Inherited from Xceed.PdfLibrary.NET.FormField)
    Public PropertyGets the text. (Inherited from Xceed.PdfLibrary.NET.TextBoxBaseFormField)
    Public PropertyGets or sets the text style. (Inherited from Xceed.PdfLibrary.NET.FormField)
    Public PropertyGets or sets the Date/Time of the value.  
    Top
    Public Methods
     NameDescription
    Public Methodstatic (Shared in Visual Basic)Format to C#.  
    Public Methodstatic (Shared in Visual Basic)Format to PDF.  
    Public MethodConvert this instance into a string representation. (Inherited from Xceed.PdfLibrary.NET.FormField)
    Top
    Supported Frameworks

    .NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.

    .NET Framework: net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.

    See Also