[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Annotations.RichMediaAnnotation

RichMediaAnnotation Class

Represents a rich media annotation. Rich media annotations provide a common framework for video, audio, animations and other multimedia presentations.

Namespace: GrapeCity.Documents.Pdf.Annotations
Assembly: DS.Documents.Pdf.dll
Syntax
public class RichMediaAnnotation : AnnotationBase, IOwnedObject, IContentItem, IPdfDict
Public Class RichMediaAnnotation
    Inherits AnnotationBase
    Implements IOwnedObject, IContentItem, IPdfDict

Constructors

Name Description
RichMediaAnnotation()

Initializes a new instance of the RichMediaAnnotation class.

Properties

Name Description
ActivationCondition

Gets or sets the IPdfName object specifying the circumstances under which the annotation shall be activated. The RichMediaAnnotationActivation static class defines the valid values.

DeactivationCondition

Gets or sets the IPdfName object specifying the circumstances under which the annotation shall be deactivated. The RichMediaAnnotationDeactivation static class defines the valid values.

PresentationStyle

Gets or sets the IPdfName object specifying the style of presentation of the rich media (embedded or windowed). The RichMediaAnnotationPresentationStyle static class defines the valid values.

ShowNavigationPane

Gets or sets a value indicating the default behavior of a navigation pane user interface element. If true, the navigation pane should be visible when the content is initially activated. If false, the navigation pane should not be displayed. The default is false.

ShowToolbar

Gets or sets the value indicating the default behavior of an interactive toolbar associated with this annotation. If true, the toolbar should be displayed when the annotation is activated and given focus. If false, the toolbar should not be displayed.

Methods

Name Description
GetContent(out RichMediaAnnotationContentType?)

Gets the FileSpecification object representing the content associated with this RichMediaAnnotation.

SetAudio(FileSpecification)

Sets the content of this RichMediaAnnotation to the audio represented by a FileSpecification object.

SetContent(FileSpecification, RichMediaAnnotationContentType)

Sets the content of this RichMediaAnnotation.

SetVideo(FileSpecification)

Sets the content of this RichMediaAnnotation to the video represented by a FileSpecification object.

Extension Methods