[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Annotations.Model3DStream.SetDefaultView

SetDefaultView Method

SetDefaultView(Model3DView)

Sets the stream-level default Model3DView object.

Declaration
public void SetDefaultView(Model3DView value)
Public Sub SetDefaultView(value As Model3DView)
Parameters
Type Name Description
Model3DView value

The Model3DView instance to store as the stream's default view. Pass null to remove any explicit default view from the stream dictionary.

SetDefaultView(int)

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

Declaration
public void SetDefaultView(int value)
Public Sub SetDefaultView(value As Integer)
Parameters
Type Name Description
int value

Zero-based index of the view to use as the default.

Remarks

The numeric index is stored in the stream dictionary and is resolved when the default view is requested. If the index does not correspond to an existing view, resolution will return null.

Exceptions
Type Condition
ArgumentException

Thrown when value is negative.