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

NameTypeAccessDescription
Titlestring?Read/WriteGets or sets the document title
Subjectstring?Read/Write
Creatorstring?Read/WriteGets or sets the document creator name
Keywordsstring?Read/Write
Descriptionstring?Read/Write
Categorystring?Read/Write
ContentStatusstring?Read/WriteGets or sets the document content status
ContentTypestring?Read/WriteGets or sets the document content type
LastModifiedBystring?Read/WriteGets or sets the name of the last modifier
Revisionstring?Read/WriteGets or sets the document revision identifier
CreatedDateTime?Read/WriteGets or sets the creation date and time
ModifiedDateTime?Read/WriteGets or sets the last modification date and time
LastPrintedDateTime?Read/WriteGets or sets the last printed date and time
PartNamestringReadGets the name of the core properties part

Mètodes

SignatureDescription
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.
 Català