public final class PDF3DAnnotation extends Annotation
Class PDF3DAnnotation. This class cannot be inherited.
Annotation
_disableUpdateAppearance
Constructor and Description |
---|
PDF3DAnnotation(Page page,
Rectangle rect,
PDF3DArtwork pdf3DArtwork)
Initializes a new instance of the
PDF3DAnnotation class. |
PDF3DAnnotation(Page page,
Rectangle rect,
PDF3DArtwork pdf3DArtwork,
int activation)
Initializes a new instance of the
PDF3DAnnotation class. |
Modifier and Type | Method and Description |
---|---|
void |
accept(AnnotationSelector visitor)
Accepts visitor for annotation processing.
|
void |
clearImagePreview()
Clears the image preview.
|
int |
getAnnotationType()
Gets type of annotation.
|
PDF3DContent |
getContent()
Gets or sets the content.
|
InputStream |
getImagePreview()
Gets the image preview.
|
PDF3DLightingScheme |
getLightingScheme()
Gets the lighting scheme.
|
PDF3DArtwork |
getPdf3DArtwork()
Gets the 3D Artwork.
|
PDF3DRenderMode |
getRenderMode()
Gets the render mode.
|
PDF3DViewArray |
getViewArray()
Gets the view array.
|
void |
setContent(PDF3DContent value)
Gets or sets the content.
|
void |
setDefaultViewIndex(int index)
Sets the index of the default view.
|
void |
setImagePreview(InputStream image)
Sets the image preview.
|
void |
setImagePreview(String filename)
Sets the image preview.
|
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, setStructParent, setTextHorizontalAlignment, setUpdateAppearanceOnConvert, setUseFontSubset, setWidth
deepClone, getHorizontalAlignment, getHyperlink, getMargin, getVerticalAlignment, getZIndex, isFirstParagraphInColumn, isInLineParagraph, isInNewPage, isKeptWithNext, setFirstParagraphInColumn, setHorizontalAlignment, setHyperlink, setInLineParagraph, setInNewPage, setKeptWithNext, setMargin, setVerticalAlignment, setZIndex
public PDF3DAnnotation(Page page, Rectangle rect, PDF3DArtwork pdf3DArtwork)
Initializes a new instance of the PDF3DAnnotation
class.
page
- The page.rect
- The rectangle.pdf3DArtwork
- The 3D Artwork.public PDF3DAnnotation(Page page, Rectangle rect, PDF3DArtwork pdf3DArtwork, int activation)
Initializes a new instance of the PDF3DAnnotation
class.
page
- The page.rect
- The rectangle.pdf3DArtwork
- The 3D Artwork.activation
- The activation mode.com.aspose.ms.System.Exception
- 3D Stream is already added to current 3D Artworkpublic PDF3DArtwork getPdf3DArtwork()
Gets the 3D Artwork.
Value: The PDF3 d artwork.public PDF3DLightingScheme getLightingScheme()
Gets the lighting scheme.
Value: The lighting scheme.public PDF3DContent getContent()
Gets or sets the content.
Value: The content.public void setContent(PDF3DContent value)
Gets or sets the content.
Value: The content.value
- PDF3DContent objectpublic PDF3DRenderMode getRenderMode()
Gets the render mode.
Value: The render mode.public void setDefaultViewIndex(int index)
Sets the index of the default view.
index
- The default view index.public PDF3DViewArray getViewArray()
Gets the view array.
Value: The view array.public int getAnnotationType()
Gets type of annotation.
Value: The type of the annotation.getAnnotationType
in class Annotation
AnnotationType
public void accept(AnnotationSelector visitor)
Accepts visitor for annotation processing.
accept
in class Annotation
visitor
- AnnotationSelector object.public void setImagePreview(String filename)
Sets the image preview.
filename
- The image preview filename.public void setImagePreview(InputStream image)
Sets the image preview.
image
- The image stream.public void clearImagePreview()
Clears the image preview.
public InputStream getImagePreview()
Gets the image preview.