[Root] / Xceed.PdfLibrary.NET Assembly / Xceed.PdfLibrary.NET Namespace / DateTimeFormField Class
In This Topic
    DateTimeFormField Class
    In This Topic
    Represents 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 alternate name given to the FormField. (Inherited from Xceed.PdfLibrary.NET.FormField)
    Public PropertyGets or sets the annotation flags. (Inherited from Xceed.PdfLibrary.NET.FormField)
    Public PropertyGets or sets the FormField’s Border. (Inherited from Xceed.PdfLibrary.NET.FormField)
    Public PropertyGets or sets the bounds of the FormField on the page. (Inherited from Xceed.PdfLibrary.NET.FormField)
    Public PropertyGets or sets the fill color that will be used as the FormField's background. (Inherited from Xceed.PdfLibrary.NET.FormField)
    Public Property Gets or sets the format of the Date/Time value, using C# formatting: '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 if the TextBoxBaseFormField is character spaced. (Inherited from Xceed.PdfLibrary.NET.TextBoxBaseFormField)
    Public PropertyGets or sets if the TextBoxBaseFormField checks spelling as the user types in the field. (Inherited from Xceed.PdfLibrary.NET.TextBoxBaseFormField)
    Public PropertyGets or sets if the FormField is read only. (Inherited from Xceed.PdfLibrary.NET.FormField)
    Public PropertyGets or sets if the FormField is required. (Inherited from Xceed.PdfLibrary.NET.FormField)
    Public PropertyGets or sets if the TextBoxBaseFormField enables scrolling when text is too long. (Inherited from Xceed.PdfLibrary.NET.TextBoxBaseFormField)
    Public PropertyGets or sets the mapping's name. (Inherited from Xceed.PdfLibrary.NET.FormField)
    Public PropertyGets or sets the maximum length that the text can have in the TextBoxBaseFormField. (Inherited from Xceed.PdfLibrary.NET.TextBoxBaseFormField)
    Public PropertyGets or sets the FormField’s name. (Inherited from Xceed.PdfLibrary.NET.FormField)
    Public PropertyGets or sets the FormField’s Orientation. (Inherited from Xceed.PdfLibrary.NET.FormField)
    Public PropertyGets on which page the FormField is located. (Inherited from Xceed.PdfLibrary.NET.FormField)
    Public PropertyGets the FormField’s parent. (Inherited from Xceed.PdfLibrary.NET.FormField)
    Public PropertyGets the text that will be displayed in the TextBoxBaseFormField. (Inherited from Xceed.PdfLibrary.NET.TextBoxBaseFormField)
    Public PropertyGets or sets the style that will be used to display the FormField’s text. (Inherited from Xceed.PdfLibrary.NET.FormField)
    Public PropertyGets or sets the Date/Time value.  
    Top
    Public Methods
     NameDescription
    Public Methodstatic (Shared in Visual Basic)Format to C#.  
    Public Methodstatic (Shared in Visual Basic)Format to PDF.  
    Public MethodConverts the FormField into its 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