Class
EmbeddedFile

Attachment entry embedding arbitrary binary data into the document.

Definition

Namespace:Telerik.Windows.Documents.Fixed.Model

Assembly:Telerik.Windows.Documents.Fixed.dll

Syntax:

cs-api-definition
public class EmbeddedFile : FixedDocumentElementBase, IFixedDocumentElement

Inheritance: objectFixedDocumentElementBaseEmbeddedFile

Implements: IFixedDocumentElement

Inherited Members FixedDocumentElementBase.Parent

Properties

Data

Raw embedded file bytes.

Declaration

cs-api-definition
public byte[] Data { get; }

Property Value

byte[]

The file data as a byte array.

MimeType

Gets or sets the MIME type of the embedded file.

Declaration

cs-api-definition
public string MimeType { get; set; }

Property Value

string

The MIME type string (e.g., "application/xml", "text/xml", etc.). If not specified, the default value of "application/octet-stream" will be used.

Name

Gets or sets the attachment's display file name (including extension) shown in viewer UIs.

Declaration

cs-api-definition
public string Name { get; set; }

Property Value

string

The filename including extension that identifies the embedded file.

In this article
DefinitionPropertiesDataMimeTypeName
Not finding the help you need?
Contact Support