CorePropertiesPart
General
CorePropertiesPart és una classe en Aspose.Slides per NET.
Parseja i serialitza docProps/core.xml (metadades de Dublin Core). Manteix: títol, tema, creador (autor), paraules clau, descripció (comentaris), categoria, contingutStatus, contentType, lastModifiedBy, revision, creat, modificat, l’últimImprimit.
Propietats
| Name | Type | Access | Description |
|---|---|---|---|
Title | string? | Read/Write | Gets or sets the document title |
Subject | string? | Read/Write | |
Creator | string? | Read/Write | Gets or sets the document creator name |
Keywords | string? | Read/Write | |
Description | string? | Read/Write | |
Category | string? | Read/Write | |
ContentStatus | string? | Read/Write | Gets or sets the document content status |
ContentType | string? | Read/Write | Gets or sets the document content type |
LastModifiedBy | string? | Read/Write | Gets or sets the name of the last modifier |
Revision | string? | Read/Write | Gets or sets the document revision identifier |
Created | DateTime? | Read/Write | Gets or sets the creation date and time |
Modified | DateTime? | Read/Write | Gets or sets the last modification date and time |
LastPrinted | DateTime? | Read/Write | Gets or sets the last printed date and time |
PartName | string | Read | Gets the name of the core properties part |
Mètodes
| Signature | Description |
|---|---|
Parse() | Parses the docProps/core.xml part from the package. |
GetText(tag: XName) | The text content, or null if not found or empty. |
MarkDirty() | Marks the part as dirty so it will be serialized on save. |
Save() | Serializes the core properties back to the OPC package. |
SetDc(root: XElement, localName: string, value: string?) | The text value, or null to skip. |
SetCp(root: XElement, localName: string, value: string?) | The text value, or null to skip. |
SetDctermsDate(root: XElement, localName: string, dt: DateTime?) | The datetime value, or null to skip. |
Clear() | Resets all properties to null. |
ParseW3cdtf(text: string?) | The parsed , or null if the input is null, empty, or invalid. |
FormatW3cdtf(dt: DateTime?) | The W3CDTF string, or null if the input is null. |