Skip to content

PDFGoTo3DViewAction

Namespace: O2S.Components.PDF4NET.Actions

Defines a Go to 3D View action.

public class PDFGoTo3DViewAction : PDFAction

Inheritance ObjectPDFActionPDFGoTo3DViewAction

Remarks

A go to 3D view action specifies a view to be used by a 3D annotation.

Constructors

PDFGoTo3DViewAction()

Initializes a new PDFGoTo3DViewAction object.

public PDFGoTo3DViewAction()

Properties

Actions

Gets or sets the sequence of actions to be performed after this action.

public PDFActionCollection Actions { get; set; }

Property Value

PDFActionCollection
The sequence of actions to be performed after this action.


CosAction

Gets the cos action object.

public PDFCosDictionary CosAction { get; }

Property Value

PDFCosDictionary
The cos action dictionary.

Remarks

Direct changes to cos action dictionary can lead to unexpected results if they do not follow the PDF specification.


TargetAnnotation

Gets or sets the 3D annotation that is the target of this action.

public PDF3DAnnotation TargetAnnotation { get; set; }

Property Value

PDF3DAnnotation
The target annotation of this action.


Type

Gets the type of this action.

public PDFActionType Type { get; }

Property Value

PDFActionType
A PDFActionType enum member specifying the type of this action.


View

Gets or sets the view to be activated in the 3D annotation when the action is executed.

public PDF3DView View { get; set; }

Property Value

PDF3DView
A PDF3DView object specifying the view to be displayed.


ViewIndex

Gets or sets the index of the view to be activated in the 3D annotation when the action is executed.

public int ViewIndex { get; set; }

Property Value

Int32
The view index in 3D stream's Views collection.


ViewName

Gets or sets the name of the view to be activated in the 3D annotation when the action is executed.

public string ViewName { get; set; }

Property Value

String
The internal name of the view (PDF3DView.InternalName property).

Remarks

The following values have special meaning: /F - first view in list of views collection, /L - last view in list of views collection, /N - next view in list of views collection relative to current view, /P - previous view in list of views collection relative to current view, /D - default view set on the 3D stream.