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
PdfRectangleThe bounds of the rich media annotation.
asset
PdfFileSpecificationThe file specification with a rich media content to use in the annotation.
contentType
PdfRichMediaContentTypeThe type of the rich media content.
Returns
- PdfRichMediaAnnotation
The newly created PdfRichMediaAnnotation object.