Class ApiOfficeMetadata
MS Office document metadata. Some fields apply only to specific document types (e.g. Slides for PowerPoint, Words and Pages for Word).
Inherited Members
Namespace: Dropbox.Api.Riviera
Assembly: Dropbox.Api.dll
Syntax
public class ApiOfficeMetadata
Constructors
View SourceApiOfficeMetadata(OfficeFileType, string, string, string, string, string, string, uint, uint, uint, uint, string)
Initializes a new instance of the ApiOfficeMetadata class.
Declaration
public ApiOfficeMetadata(OfficeFileType fileType = null, string creator = "", string company = "", string title = "", string subject = "", string keywords = "", string description = "", uint totalEditTimeMinutes = 0, uint pages = 0, uint words = 0, uint slides = 0, string revisionNumber = "")
Parameters
| Type | Name | Description |
|---|---|---|
| OfficeFileType | fileType | Which kind of Office document this metadata was extracted from. |
| string | creator | Author recorded in the document properties. |
| string | company | Company recorded in the document properties. |
| string | title | Title recorded in the document properties. |
| string | subject | Subject recorded in the document properties. |
| string | keywords | Keywords recorded in the document properties, in the document's own formatting (typically a single comma- or space-separated string). |
| string | description | Description recorded in the document properties. |
| uint | totalEditTimeMinutes | Total editing time recorded in the document properties, in minutes. |
| uint | pages | Page count recorded in the document properties. Word documents only; zero for PowerPoint and Excel. |
| uint | words | Word count recorded in the document properties. Word documents only; zero for PowerPoint and Excel. |
| uint | slides | Slide count recorded in the document properties. PowerPoint documents only; zero for Word and Excel. |
| string | revisionNumber | Revision number recorded in the document properties. |
Properties
View SourceCompany
Company recorded in the document properties.
Declaration
public string Company { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
Creator
Author recorded in the document properties.
Declaration
public string Creator { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
Description
Description recorded in the document properties.
Declaration
public string Description { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
FileType
Which kind of Office document this metadata was extracted from.
Declaration
public OfficeFileType FileType { get; protected set; }
Property Value
| Type | Description |
|---|---|
| OfficeFileType |
Keywords
Keywords recorded in the document properties, in the document's own formatting (typically a single comma- or space-separated string).
Declaration
public string Keywords { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
Pages
Page count recorded in the document properties. Word documents only; zero for PowerPoint and Excel.
Declaration
public uint Pages { get; protected set; }
Property Value
| Type | Description |
|---|---|
| uint |
RevisionNumber
Revision number recorded in the document properties.
Declaration
public string RevisionNumber { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
Slides
Slide count recorded in the document properties. PowerPoint documents only; zero for Word and Excel.
Declaration
public uint Slides { get; protected set; }
Property Value
| Type | Description |
|---|---|
| uint |
Subject
Subject recorded in the document properties.
Declaration
public string Subject { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
Title
Title recorded in the document properties.
Declaration
public string Title { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
TotalEditTimeMinutes
Total editing time recorded in the document properties, in minutes.
Declaration
public uint TotalEditTimeMinutes { get; protected set; }
Property Value
| Type | Description |
|---|---|
| uint |
Words
Word count recorded in the document properties. Word documents only; zero for PowerPoint and Excel.
Declaration
public uint Words { get; protected set; }
Property Value
| Type | Description |
|---|---|
| uint |