PDF3DStream¶
Namespace: O2S.Components.PDF4NET.Annotations
Defines a 3D stream.
Inheritance Object → PDF3DStream
Constructors¶
PDF3DStream()¶
Initializes a new PDF3DStream object.
Properties¶
Animation¶
Gets or sets the 3D animation.
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.
Property Value
Byte[]
The 3D artwork in U3D format.
DefaultView¶
Gets or sets the default 3D view.
Property Value
PDF3DView
A PDF3DView that represents that default view.
DefaultViewIndex¶
Gets or sets the default 3D view.
Property Value
Int32
An integer specifying an index into the PDF3DStream.Views collection.
DefaultViewName¶
Gets or sets the name of the default 3D view.
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.
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.
Property Value
PDFJavaScriptBlock
A JavaScript script that is executed when the 3D stream is instantiated.
Views¶
Gets the collection of 3D views.
Property Value
PDF3DViewCollection
An array of PDF3DView object, each of which specifies a named preset view of this 3D artwork.