ClassEmbeddedFile
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
CollectionItems
Gets the collection item values for this embedded file in a PDF Portfolio.
Declaration
public CollectionItemValues CollectionItems { get; }
Property Value
Remarks
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.
CreationDate
Gets or sets the creation date of the embedded file.
Declaration
public DateTime? CreationDate { get; set; }
Property Value
Remarks
This value is displayed in the Created column of a PDF Portfolio when the schema includes an AddCreationDateField().
Data
Raw embedded file bytes.
Declaration
public byte[] Data { get; }
Property Value
byte[]
The file data as a byte array.
Description
Gets or sets the description of the embedded file.
Declaration
public string Description { get; set; }
Property Value
Remarks
This value is displayed in the Description column of a PDF Portfolio when the schema includes an AddDescriptionField().
MimeType
Gets or sets the MIME type of the embedded file.
Declaration
public string MimeType { get; set; }
Property Value
The MIME type string (e.g., "application/xml", "text/xml", etc.). If not specified, the default value of "application/octet-stream" will be used.
ModificationDate
Gets or sets the modification date of the embedded file.
Declaration
public DateTime? ModificationDate { get; set; }
Property Value
Remarks
This value is displayed in the Modified column of a PDF Portfolio when the schema includes an AddModificationDateField().
Name
Gets or sets the attachment's display file name (including extension) shown in viewer UIs.
Declaration
public string Name { get; set; }
Property Value
The filename including extension that identifies the embedded file.