[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Annotations.Model3DAnnotation.SetDefaultView

SetDefaultView Method

SetDefaultView(Model3DView)

Sets the default initial Model3DView for this annotation.

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

The Model3DView instance to use as the default view. Pass null to remove any explicit default view from the annotation.

SetDefaultView(int)

Sets the default initial view by specifying the zero-based index of a view in the associated 3D stream's 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 index is stored in the annotation dictionary and resolved when the default view is requested. The index must correspond to an entry in the stream's view list; if the referenced stream or view does not exist, resolution will return null.

Exceptions
Type Condition
ArgumentException

Thrown when value is negative.