Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Description

Excerpt

Sets or returns a String that is the name of the author that created this file.

Signature
C#
C#
 public System.String Author{ get; set; }
Signature
vb.net
vb.net
Public Property Author() As String
Remarks

MS Word equivalent: File menu > Properties > Summary tab > Author:

Example
Code Block
csharp
csharp
titleC#

          //--- Return Author
          string author = docProps.Author;

          //--- Set Author
          docProps.Author = "John Doe";
        
Code Block
vb.net
vb.net
titlevb.net

          '--- Return Author
          Dim author As String = docProps.Author

          '--- Set Author
          docProps.Author = "John Doe"