Document Solutions for PDF
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.AcroForms Namespace / TextField Class / SetDateValue Method
The value to assign.
The format string. Cannot be a null reference (Nothing in Visual Basic) or empty.

In This Topic
    SetDateValue Method (TextField)
    In This Topic
    Imposes the specified date format string on the current TextField, and assigns to it the specified value as a date.

    The syntax of the format string is similar to .NET format strings. Some examples are "m/d/yyyy" or "d-mmm-yy".

    Syntax
    'Declaration
     
    Public Sub SetDateValue( _
       ByVal value As System.Date, _
       ByVal format As System.String _
    ) 
    public void SetDateValue( 
       System.DateTime value,
       System.string format
    )

    Parameters

    value
    The value to assign.
    format
    The format string. Cannot be a null reference (Nothing in Visual Basic) or empty.
    See Also