Page tree

Versions Compared

Key

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

...

Excerpt

Sets or returns the value of the Company field in a presentation's Properties sheet. Windows can search for a PowerPoint file using this value.

Signature
C#
C#
<p> public System.String Company{ get; set; }</p>
Signature
vb.net
vb.net
<p>PublicPublic Property Company() As String</p>String
Example
 
Code Block
csharp
csharp
titleC#
          //--- Get Company
          string company = docProps.Company;

          //--- Set Company
          docProps.Company = "SoftArtisans";
        
Code Block
vbnet
vbnet
titlevb.net
          '--- Get Company
          Dim company As String = docProps.Company

          '--- Set Company
          docProps.Company = "SoftArtisans"
        
Example