Aspose::Pdf::Annotations::RichMediaAnnotation klass

RichMediaAnnotation class

Klassen beskriver RichMediaAnnotation som möjliggör inbäddning av video-/ljudinnehåll i PDF-dokument.

class RichMediaAnnotation : public Aspose::Pdf::Annotations::Annotation

Enums

EnumBeskrivning
ActivationEventHändelse som aktiverar annotationen.
ContentTypeTyp av multimedia.

Metoder

MetodBeskrivning
Accept(System::SharedPtr<AnnotationSelector>) overrideAccepterar besökare för denna annotation.
AddCustomData(const System::String&, const System::SharedPtr<System::IO::Stream>&)Lägg till anpassad namngiven data (till exempel som krävs för flash‑script).
get_ActivateOn()Händelse som aktiverar applikationen.
get_AnnotationType() overrideHämtar typ av annotation.
get_Content()Data för Rich Media-innehållet.
get_CustomFlashVariables() constStäller in eller hämtar flash-variabler som skickas till spelaren.
get_CustomPlayer() constStäller in eller hämtar anpassad flash-spelare för att spela video-/ljuddata.
get_Type()Hämtar innehållstyp. Möjliga värden: Audio, Video.
RichMediaAnnotation(const System::SharedPtr<Aspose::Pdf::Page>&, const System::SharedPtr<Rectangle>&)Initierar RichMediaAnnotation.
set_ActivateOn(RichMediaAnnotation::ActivationEvent)Händelse som aktiverar applikationen.
set_CustomFlashVariables(const System::String&)Ställer in eller hämtar flash-variabler som skickas till spelaren.
set_CustomPlayer(const System::SharedPtr<System::IO::Stream>&)Ställer in eller hämtar anpassad flash-spelare för att spela video-/ljuddata.
set_Type(RichMediaAnnotation::ContentType)Ställer in innehållstyp. Möjliga värden: Audio, Video.
SetContent(const System::String&, const System::SharedPtr<System::IO::Stream>&)Ange innehållsström.
SetPoster(const System::SharedPtr<System::IO::Stream>&)Ange poster för annoteringen.
Update()Uppdaterar data med angivna parametrar.

Se även