AttachmentInfo Class

Represents an attachment inside a document.

Definition

Namespace: GleamTech.DocumentUltimate
Assembly: GleamTech.DocumentUltimate (in GleamTech.DocumentUltimate.dll) Version: 7.2.0
C#
public class AttachmentInfo
Inheritance
Object    AttachmentInfo

Constructors

AttachmentInfoInitializes a new instance of the AttachmentInfo class

Properties

DateModifiedGets or sets the last modified date of the attachment.
DescriptionGets or sets the description of the attachment.
Key Gets or sets the internal key (unique fileSpec key in PDF) of the attachment. This can have PDF internal folder id e.g "<2>File.docx" or not e.g. "File.docx". Note that this will be generated automatically when writing the PDF.
KeyPath Gets or sets the key path of the attachment if possible. If Key has PDF internal folder id e.g "<2>File.docx", this will be "Subfolder 2/File.docx" where "File.docx" will come from Name. No subfolder will exist for those beginning with "<0>", as those are in root. Resolving PDF internal folder id is not currently supported so subfolders will be generic like "Subfolder 2". However, this is still useful to detect if attachment is in a subfolder. Note that this will be generated automatically when reading the PDF.
Name Gets or sets the name of the attachment. This will be file name only e.g. "Subfolder/File.docx" and will not have folder information.
OpenReadOpens a readable stream for the attachment.
SizeGets or sets the size of the attachment.

See Also