Insert Date and Time into Printed Documents

<< Click to Display Table of Contents >>

Navigation:  User Interface Reference > Print Preview > Headers and Footers >

Insert Date and Time into Printed Documents

Interface Elements for Desktop > Print Preview > Print Preview for WinForms > Insert Date and Time into Printed Documents

If you need to display the date and time when a document is printed, first invoke the Header and Footer dialog.

Then, click on the appropriate text box, depending on the required alignment, and do the following:

To add a date stamp, click the Date Printed img7272 button.

To add a time stamp, click the Time Printed img7273 button.

When you click one of these buttons, the dialog adds an alias within square brackets at the current cursor position. You can surround this alias with any text you like. If you no longer need to display date and time in your document, delete this alias.

Click OK to save changes and close the dialog.

Copyright (c) 1998-2016 Developer Express Inc. All rights reserved.

Send Feedback on this topic to DevExpress.