EmbeddedFile
Attachment entry embedding arbitrary binary data into the document.
Definition
Namespace:Telerik.Windows.Documents.Fixed.Model
Assembly:Telerik.Windows.Documents.Fixed.dll
Syntax:
public class EmbeddedFile : FixedDocumentElementBase, IFixedDocumentElement
Inheritance: objectFixedDocumentElementBaseEmbeddedFile
Implements:
Inherited Members
Properties
Gets the collection item values for this embedded file in a PDF Portfolio.
public CollectionItemValues CollectionItems { get; }
These values correspond to custom fields defined in the portfolio schema (Schema). Use this property to set metadata that appears in the portfolio's columns when viewing embedded files.
Gets or sets the creation date of the embedded file.
public DateTime? CreationDate { get; set; }
This value is displayed in the Created column of a PDF Portfolio when the schema includes an AddCreationDateField().
Raw embedded file bytes.
public byte[] Data { get; }
The file data as a byte array.
Gets or sets the description of the embedded file.
public string Description { get; set; }
This value is displayed in the Description column of a PDF Portfolio when the schema includes an AddDescriptionField().
Gets or sets the MIME type of the embedded file.
public string MimeType { get; set; }
The MIME type string (e.g., "application/xml", "text/xml", etc.). If not specified, the default value of "application/octet-stream" will be used.
Gets or sets the modification date of the embedded file.
public DateTime? ModificationDate { get; set; }
This value is displayed in the Modified column of a PDF Portfolio when the schema includes an AddModificationDateField().
Gets or sets the attachment's display file name (including extension) shown in viewer UIs.
public string Name { get; set; }
The filename including extension that identifies the embedded file.