...
Description |
---|
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 | ||||
---|---|---|---|---|
| ||||
<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.String Company{ get; set; } {signature}{signature:</pre></td></tr></tbody></table> |
Signature | ||||||
---|---|---|---|---|---|---|
| }
Public
| |||||
<p>Public Property Company() As String {signature} {example}{code:csharp|title=C#}String</p> |
Example |
---|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
//--- Get Company
string company = docProps.Company;
//--- Set Company
docProps.Company = "SoftArtisans";
{code}
{code:vbnet|title= |
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| }||||||||
'--- Get Company
Dim company As String = docProps.Company
'--- Set Company
docProps.Company = "SoftArtisans"
{code}
{example}
|
Example |
---|