public final class MovieAnnotation extends Annotation
Represents a movie annotation that contains animated graphics and sound to be presented on the computer screen and through the speakers. When the annotation is activated, the movie is played.
_disableUpdateAppearance
Constructor and Description |
---|
MovieAnnotation(Page page,
Rectangle rect,
String movieFile)
Creates new Sound annotation on the specified page.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(AnnotationSelector visitor)
Accepts visitor object to process the annotation.
|
Point |
getAspect()
Gets the width and height of the movie�s bounding box, in pixels, specified as [ width height ].
|
FileSpecification |
getFile()
Gets a file specification identifying a self-describing movie file.
|
String |
getTitle()
Gets the title of the movie annotation.
|
void |
setAspect(Point value)
Sets the width and height of the movie�s bounding box, in pixels, specified as [ width height ].
|
void |
setFile(FileSpecification value)
Sets a file specification identifying a self-describing movie file.
|
void |
setTitle(String value)
Sets the title of the movie annotation.
|
flatten, getActiveState, getAlignment, getAppearance, getBorder, getCharacteristics, getColor, getContents, getEngineDict, getEngineObj, getFlags, getFullName, getHeight, getHorizontalAlignment_Annotation_New, getModified, getModifiedInternal, getName, getNormalAppearance, getPage, getPageIndex, getPageIndex, getRect, getStates, getWidth, initialize, setActiveState, setAlignment, setBorder, setColor, setContents, setFlags, setHeight, setHorizontalAlignment_Annotation_New, setModified, setModifiedInternal, setName, setRect, setWidth
deepClone, getMargin, isKeptWithNext, isKeptWithNext, setHorizontalAlignment, setMargin, setVerticalAlignment
public MovieAnnotation(Page page, Rectangle rect, String movieFile)
Creates new Sound annotation on the specified page.
page
- The document's page where annotation should be created.rect
- The annotation rectangle, defining the location of the annotation on the page.movieFile
- A movie file to be played when the annotation is activated.public String getTitle()
Gets the title of the movie annotation.
public void setTitle(String value)
Sets the title of the movie annotation.
public FileSpecification getFile()
Gets a file specification identifying a self-describing movie file.
public void setFile(FileSpecification value)
Sets a file specification identifying a self-describing movie file.
public Point getAspect()
Gets the width and height of the movie�s bounding box, in pixels, specified as [ width height ].
public void setAspect(Point value)
Sets the width and height of the movie�s bounding box, in pixels, specified as [ width height ].
public void accept(AnnotationSelector visitor)
Accepts visitor object to process the annotation.
accept
in class Annotation
visitor
- Visitor object.Copyright © 2017 Aspose. All Rights Reserved.