com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class PDF3DAnnotation

  • All Implemented Interfaces:
    com.aspose.ms.System.ICloneable


    public final class PDF3DAnnotation
    extends Annotation

    Class PDF3DAnnotation. This class cannot be inherited.

    See Also:
    Annotation
    • Constructor Detail

      • PDF3DAnnotation

        public PDF3DAnnotation(Page page,
                               Rectangle rect,
                               PDF3DArtwork pdf3DArtwork)

        Initializes a new instance of the PDF3DAnnotation class.

        Parameters:
        page - The page.
        rect - The rectangle.
        pdf3DArtwork - The 3D Artwork.
      • PDF3DAnnotation

        public PDF3DAnnotation(Page page,
                               Rectangle rect,
                               PDF3DArtwork pdf3DArtwork,
                               int activation)

        Initializes a new instance of the PDF3DAnnotation class.

        Parameters:
        page - The page.
        rect - The rectangle.
        pdf3DArtwork - The 3D Artwork.
        activation - The activation mode.
        Throws:
        com.aspose.ms.System.Exception - 3D Stream is already added to current 3D Artwork
    • Method Detail

      • getPdf3DArtwork

        public PDF3DArtwork getPdf3DArtwork()

        Gets the 3D Artwork.

        Value: The PDF3 d artwork.
        Returns:
        PDF3DArtwork object
      • getLightingScheme

        public PDF3DLightingScheme getLightingScheme()

        Gets the lighting scheme.

        Value: The lighting scheme.
        Returns:
        PDF3DLightingScheme object
      • getContent

        public PDF3DContent getContent()

        Gets or sets the content.

        Value: The content.
        Returns:
        PDF3DContent object
      • setContent

        public void setContent(PDF3DContent value)

        Gets or sets the content.

        Value: The content.
        Parameters:
        value - PDF3DContent object
      • getRenderMode

        public PDF3DRenderMode getRenderMode()

        Gets the render mode.

        Value: The render mode.
        Returns:
        PDF3DRenderMode object
      • setDefaultViewIndex

        public void setDefaultViewIndex(int index)

        Sets the index of the default view.

        Parameters:
        index - The default view index.
      • getViewArray

        public PDF3DViewArray getViewArray()

        Gets the view array.

        Value: The view array.
        Returns:
        PDF3DViewArray object
      • getAnnotationType

        public int getAnnotationType()

        Gets type of annotation.

        Value: The type of the annotation.
        Specified by:
        getAnnotationType in class Annotation
        Returns:
        int value
        See Also:
        AnnotationType
      • accept

        public void accept(AnnotationSelector visitor)

        Accepts visitor for annotation processing.

        Specified by:
        accept in class Annotation
        Parameters:
        visitor - AnnotationSelector object.
      • setImagePreview

        public void setImagePreview(String filename)

        Sets the image preview.

        Parameters:
        filename - The image preview filename.
      • setImagePreview

        public void setImagePreview(InputStream image)

        Sets the image preview.

        Parameters:
        image - The image stream.
      • clearImagePreview

        public void clearImagePreview()

        Clears the image preview.

      • getImagePreview

        public InputStream getImagePreview()

        Gets the image preview.

        Returns:
        Image preview as stream.