Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Excerpt

Returns a DateTime object representing the date this document was last printed using Word.

Signature
C#
C#
<table class="diff-macro"><thead><tr><th class="diff-macro-title">unmigrated-wiki-markup</th></tr></thead><tbody><tr><td class="diff-macro-body"><pre>
 public System.DateTime DatePrinted{ get; }
</pre></td></tr></tbody></table>
Signature
vb.net
vb.net
Public <p>Public ReadOnly Property DatePrinted() As Date</p>Date
Remarks

MS Word equivalent: File menu > Properties > Statistics tab > Printed:

Example
Code Block
csharp
csharp
titleC#
            DateTime oDateTime = oDocument.DatePrinted;
        
Code Block
vb.net
vb.net
titlevb.net
            Dim oDateTime As DateTime = oDocument.DatePrinted