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 represents any company info added to this file.

Signature
C#
C#
 public System.String Company{ get; set; }
{signature}{signature:
}
Signature
vb.net
vb.net
Public Property Company() As String
{signature}
{remarks}MS Word 
Remarks

MS Word equivalent:

File

menu

>

Properties

>

Summary

tab

>

Company:

{remarks} {example}{code:csharp|title=C#}

Example
Code Block
csharp
csharp
titleC#


          //--- Return Company
          string company = docProps.Company;

          //--- Set Company
          docProps.Company = "SoftArtisans, Inc.";
        
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}


          '--- Return Company
          Dim company As String = docProps.Company

          '--- Set Company
          docProps.Company = "SoftArtisans, Inc."
        
{code} {example}