Skip to content

# PDFRichMediaAsset

Namespace: O2S.Components.PDF4NET.Annotations

Defines a rich media asset object.

    public class PDFRichMediaAsset

Inheritance Object → PDFRichMediaAsset

## Constructors

### PDFRichMediaAsset()

Initializes a new PDFRichMediaAsset object.

    public PDFRichMediaAsset()

### PDFRichMediaAsset(String, Byte[])

Initializes a new PDFRichMediaAsset object.

    public PDFRichMediaAsset(string assetName, Byte[] assetData)

Parameters

`assetName` String
The name of the asset

`assetData` Byte[]
Asset data

## Properties

### AssetData

Gets or sets the asset data.

    public Byte[] AssetData { get; set; }

Property Value

Byte[]

### AssetName

Gets or sets the file asset associated with this annotation

    public string AssetName { get; set; }

Property Value

String

### MimeType

Gets or sets the MIME type for the asset content.

    public string MimeType { get; set; }

Property Value

String
The MIME type for the asset content.