public final class ScreenAnnotation extends Annotation implements com.aspose.pdf.engine.ITitledAnnotation
A screen annotation that specifies a region of a page upon which media clips may be played.
| Constructor and Description |
|---|
ScreenAnnotation(Page page,
Rectangle rect,
String mediaFile)
Creates new Screen annotation on the specified page.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(AnnotationSelector visitor)
Represent accept method
|
PdfAction |
getAction()
Gets an action to be performed when the annotation is activated.
|
AnnotationType |
getAnnotationType()
Gets type of annotation.
|
String |
getTitle()
Gets the title of the screen annotation.
|
void |
setAction(PdfAction value)
Sets an action to be performed when the annotation is activated.
|
void |
setTitle(String value)
Sets the title of the screen annotation.
|
changeAfterResize, createAnnotation, flatten, getActiveState, getAlignment, getAppearance, getBorder, getCharacteristics, getColor, getContents, getEngineDict, getEngineObj, getFlags, getFullName, getHeight, getHorizontalAlignment_Annotation_New, getModified, getModifiedInternal, getName, getNormalAppearance, getPage, getPageIndex, getPageIndex, getPdfActions, getRect, getRectangle, getStates, getTextHorizontalAlignment, getWidth, initialize, isUpdateAppearanceOnConvert, isUseFontSubset, setActiveState, setAlignment, setBorder, setColor, setContents, setFlags, setHeight, setHorizontalAlignment_Annotation_New, setModified, setModifiedInternal, setName, setRect, setTextHorizontalAlignment, setUpdateAppearanceOnConvert, setUseFontSubset, setWidthdeepClone, getHorizontalAlignment, getHyperlink, getMargin, getVerticalAlignment, getZIndex, isFirstParagraphInColumn, isInLineParagraph, isInNewPage, isKeptWithNext, setFirstParagraphInColumn, setHorizontalAlignment, setHyperlink, setInLineParagraph, setInNewPage, setKeptWithNext, setMargin, setVerticalAlignment, setZIndexpublic ScreenAnnotation(Page page, Rectangle rect, String mediaFile)
Creates new Screen 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.mediaFile - The path to multimedia file.public void accept(AnnotationSelector visitor)
Represent accept method
accept in class Annotationvisitor - AnnotationSelector objectpublic String getTitle()
Gets the title of the screen annotation.
getTitle in interface com.aspose.pdf.engine.ITitledAnnotationpublic void setTitle(String value)
Sets the title of the screen annotation.
setTitle in interface com.aspose.pdf.engine.ITitledAnnotationvalue - String valuepublic PdfAction getAction()
Gets an action to be performed when the annotation is activated.
public void setAction(PdfAction value)
Sets an action to be performed when the annotation is activated.
value - PdfAction objectpublic AnnotationType getAnnotationType()
Gets type of annotation.
getAnnotationType in class AnnotationAnnotationTypeCopyright © 2025 Aspose. All Rights Reserved.