TimeNow Field (Object)

Member of:

Fields collection

Description:

Sets the current time in the HH:MM:SS format.

This object represents the time when the TimeNow field is first added to the report, and it never changes.

Example:

This example shows how to concatenate the string: Last Updated on: and the date on which the TimeNow field was added to the report:

ActiveDocument.Sections["Sales Report"].ReportHeader.Fields["TimeNow Field"].Formula = "Last Updated:" + ' ' + new Date()

Methods:

Layer(Value As BqLayer), Spring(Name as String), UnSpring()

Properties:

Read-write: Formula as String, HorizontalAlignment as BqHorizontalAlignment (Number), Text as String, TextWrap as Boolean, VerticalAlignment as BqVerticalAlignment (Number)

Read-only: Name as String, Type as BqShapeType

Objects:

LineFormat, FillFormat, Font