PDF3DAnnotation
Inheritance: java.lang.Object, com.aspose.pdf.BaseParagraph, com.aspose.pdf.Annotation
public final class PDF3DAnnotation extends Annotation
Class PDF3DAnnotation. This class cannot be inherited.
Constructors
Constructor | 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. |
Methods
Method | Description |
---|---|
getPdf3DArtwork() | Gets the 3D Artwork. |
getLightingScheme() | Gets the lighting scheme. |
getContent() | Gets or sets the content. |
setContent(PDF3DContent value) | Gets or sets the content. |
getRenderMode() | Gets the render mode. |
setDefaultViewIndex(int index) | Sets the index of the default view. |
getViewArray() | Gets the view array. |
getAnnotationType() | Gets type of annotation. |
accept(AnnotationSelector visitor) | Accepts visitor for annotation processing. |
setImagePreview(String filename) | Sets the image preview. |
setImagePreview(InputStream image) | Sets the image preview. |
clearImagePreview() | Clears the image preview. |
getImagePreview() | Gets the image preview. |
PDF3DAnnotation(Page page, Rectangle rect, PDF3DArtwork pdf3DArtwork)
public PDF3DAnnotation(Page page, Rectangle rect, PDF3DArtwork pdf3DArtwork)
Initializes a new instance of the PDF3DAnnotation class.
Parameters:
Parameter | Type | Description |
---|---|---|
page | Page | The page. |
rect | Rectangle | The rectangle. |
pdf3DArtwork | PDF3DArtwork | The 3D Artwork. |
PDF3DAnnotation(Page page, Rectangle rect, PDF3DArtwork pdf3DArtwork, int activation)
public PDF3DAnnotation(Page page, Rectangle rect, PDF3DArtwork pdf3DArtwork, int activation)
Initializes a new instance of the PDF3DAnnotation class.
Parameters:
Parameter | Type | Description |
---|---|---|
page | Page | The page. |
rect | Rectangle | The rectangle. |
pdf3DArtwork | PDF3DArtwork | The 3D Artwork. |
activation | int | The activation mode. |
getPdf3DArtwork()
public PDF3DArtwork getPdf3DArtwork()
Gets the 3D Artwork.
Value: The PDF3 d artwork.
Returns: PDF3DArtwork - PDF3DArtwork object
getLightingScheme()
public PDF3DLightingScheme getLightingScheme()
Gets the lighting scheme.
Value: The lighting scheme.
Returns: PDF3DLightingScheme - PDF3DLightingScheme object
getContent()
public PDF3DContent getContent()
Gets or sets the content.
Value: The content.
Returns: PDF3DContent - PDF3DContent object
setContent(PDF3DContent value)
public void setContent(PDF3DContent value)
Gets or sets the content.
Value: The content.
Parameters:
Parameter | Type | Description |
---|---|---|
value | PDF3DContent | PDF3DContent object |
getRenderMode()
public PDF3DRenderMode getRenderMode()
Gets the render mode.
Value: The render mode.
Returns: PDF3DRenderMode - PDF3DRenderMode object
setDefaultViewIndex(int index)
public void setDefaultViewIndex(int index)
Sets the index of the default view.
Parameters:
Parameter | Type | Description |
---|---|---|
index | int | The default view index. |
getViewArray()
public PDF3DViewArray getViewArray()
Gets the view array.
Value: The view array.
Returns: PDF3DViewArray - PDF3DViewArray object
getAnnotationType()
public AnnotationType getAnnotationType()
Gets type of annotation.
Value: The type of the annotation.
Returns: AnnotationType
accept(AnnotationSelector visitor)
public void accept(AnnotationSelector visitor)
Accepts visitor for annotation processing.
Parameters:
Parameter | Type | Description |
---|---|---|
visitor | AnnotationSelector | AnnotationSelector object. |
setImagePreview(String filename)
public void setImagePreview(String filename)
Sets the image preview.
Parameters:
Parameter | Type | Description |
---|---|---|
filename | java.lang.String | The image preview filename. |
setImagePreview(InputStream image)
public void setImagePreview(InputStream image)
Sets the image preview.
Parameters:
Parameter | Type | Description |
---|---|---|
image | java.io.InputStream | The image stream. |
clearImagePreview()
public void clearImagePreview()
Clears the image preview.
getImagePreview()
public InputStream getImagePreview()
Gets the image preview.
Returns: java.io.InputStream - Image preview as stream.