Table of Contents

Method AddRichMediaAnnotation

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

AddRichMediaAnnotation(PdfRectangle, PdfFileSpecification, PdfRichMediaContentType)

Adds the new rich media annotation to the PdfPage.

public PdfRichMediaAnnotation AddRichMediaAnnotation(PdfRectangle bounds, PdfFileSpecification asset, PdfRichMediaContentType contentType)

Parameters

bounds PdfRectangle

The bounds of the rich media annotation.

asset PdfFileSpecification

The file specification with a rich media content to use in the annotation.

contentType PdfRichMediaContentType

The type of the rich media content.

Returns

PdfRichMediaAnnotation

The newly created PdfRichMediaAnnotation object.

Remarks

Adobe software usually supports media in the following formats:

  • U3D and PRC for ThreeD type.
  • H.264 encoded audio for Sound type.
  • H.264 encoded video for Video type.

Flash is deprecated and should not be used in new annotations.