Table of Contents

Class PdfMediaClipData

Namespace
iText.Kernel.Pdf.Action
Assembly
itext.kernel.dll

This class is a wrapper of media clip data dictionary that defines the data for a media object that can be played.

public class PdfMediaClipData : PdfObjectWrapper<PdfDictionary>
Inheritance
PdfMediaClipData
Inherited Members

Constructors

PdfMediaClipData(string, PdfFileSpec, string)

Constructs a new PdfMediaClipData wrapper around a newly created dictionary.

public PdfMediaClipData(string file, PdfFileSpec fs, string mimeType)

Parameters

file string

the name of the file to create a media clip for

fs PdfFileSpec

a file specification that specifies the actual media data

mimeType string

an ASCII string identifying the type of data

PdfMediaClipData(PdfDictionary)

Constructs a new PdfMediaClipData wrapper using an existing dictionary.

public PdfMediaClipData(PdfDictionary pdfObject)

Parameters

pdfObject PdfDictionary

the dictionary to construct the wrapper from

Methods

Flush()

To manually flush a PdfObject behind this wrapper, you have to ensure that this object is added to the document, i.e. it has an indirect reference.

public override void Flush()

Remarks

To manually flush a PdfObject behind this wrapper, you have to ensure that this object is added to the document, i.e. it has an indirect reference. Basically this means that before flushing you need to explicitly call MakeIndirect(PdfDocument). For example: wrapperInstance.makeIndirect(document).flush(); Note that not every wrapper require this, only those that have such warning in documentation.

IsWrappedObjectMustBeIndirect()

protected override bool IsWrappedObjectMustBeIndirect()

Returns

bool