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

In This Topic
    SetTimeFormat Method (TextField)
    In This Topic
    Imposes the specified time format string on the current TextField.

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

    Note that this method initializes the values of Field.Events.FormatValue and Field.Events.KeyPress only, it does not change the field's value or widget appearance streams.

    Syntax
    'Declaration
     
    Public Sub SetTimeFormat( _
       ByVal format As System.String _
    ) 
    public void SetTimeFormat( 
       System.string format
    )

    Parameters

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