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

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

    The syntax of the format string is similar to .NET format strings. Some examples are "HH:MM" or "H:MM tt".

    Syntax
    'Declaration
     
    Public Sub SetTimeValue( _
       ByVal value As System.Date, _
       ByVal format As System.String _
    ) 
    public void SetTimeValue( 
       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