[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Annotations.Model3DStream

Model3DStream Class

Represents 3D stream, contains definition of a 3D model.

Implements
Namespace: GrapeCity.Documents.Pdf.Annotations
Assembly: DS.Documents.Pdf.dll
Syntax
public class Model3DStream : PdfDictWrapper, IPdfDict
Public Class Model3DStream
    Inherits PdfDictWrapper
    Implements IPdfDict

Constructors

Name Description
Model3DStream(Stream, IPdfName)

Initializes a new instance of the Model3DAnnotation class.

Properties

Name Description
AnimationRepeatCount

Gets or sets a value specifying the play count for the animation style. A non-negative integer represents the number of times the animation shall be played. A negative integer indicates that the animation shall be infinitely repeated.

AnimationSpeed

Gets or sets a positive number specifying the time multiplier that shall be used when running the animation. A value greater than one shortens the time it takes to play the animation, or effectively speeds up the animation.

AnimationStyle

Gets or sets the IPdfName object specifying the animation style. The Model3DAnimationStyle static class defines the values listed in the PDF specification; this list may be extended in future revisions.

Format

Gets or sets the IPdfName object specifying the format of the 3D data contained in the stream. The Model3DStreamFormat static class defines the values listed in the PDF specification; this list may be extended in future revisions.

HasViews

Gets a value indicating whether the Views list is not empty.

Views

Gets a collection of Model3DView objects, each of which specifies a named preset view of this Model3DStream.

Methods

Name Description
GetDefaultView()

Resolves and returns the stream-level default Model3DView for this 3D stream.

SetDefaultView(Model3DView)

Sets the stream-level default Model3DView object.

SetDefaultView(int)

Sets the stream-level default view by specifying a zero-based index into the Views collection.

Extension Methods