Skip to content

PDF3DStream

Namespace: O2S.Components.PDF4NET.Annotations

Defines a 3D stream.

public class PDF3DStream

Inheritance ObjectPDF3DStream

Constructors

PDF3DStream()

Initializes a new PDF3DStream object.

public PDF3DStream()

Properties

Animation

Gets or sets the 3D animation.

public PDF3DAnimation Animation { get; set; }

Property Value

PDF3DAnimation
A PDF3DAnimation indicating the preferred method that viewer applications should use to drive keyframe animations present in this artwork.


Content

Gets or sets the 3D content.

public Byte[] Content { get; set; }

Property Value

Byte[]
The 3D artwork in U3D format.


DefaultView

Gets or sets the default 3D view.

public PDF3DView DefaultView { get; set; }

Property Value

PDF3DView
A PDF3DView that represents that default view.


DefaultViewIndex

Gets or sets the default 3D view.

public int DefaultViewIndex { get; set; }

Property Value

Int32
An integer specifying an index into the PDF3DStream.Views collection.


DefaultViewName

Gets or sets the name of the default 3D view.

public string DefaultViewName { get; set; }

Property Value

String
A string matching the InternalName property in one of the views in the PDF3DStream.Views collection.


Format

Gets or sets the stream fornat.

public PDF3DStreamFormat Format { get; set; }

Property Value

PDF3DStreamFormat
A PDF3DStreamFormat enumeration member specifying the format of 3D data.


OnInstantiate

Gets or sets the JavaScript script that is executed when the 3D stream is instantiated.

public PDFJavaScriptBlock OnInstantiate { get; set; }

Property Value

PDFJavaScriptBlock
A JavaScript script that is executed when the 3D stream is instantiated.


Views

Gets the collection of 3D views.

public PDF3DViewCollection Views { get; }

Property Value

PDF3DViewCollection
An array of PDF3DView object, each of which specifies a named preset view of this 3D artwork.