CreateSheetNamedView Method (IViewManager) Send Feedback
See Also  Example
Result[out]
Result status as defined in dsCreateObjectResult_e
Name[out]
Name of the sheet named view
Class
Name of category to which to assign this sheet named view
FirstCornerDblArray
Array of doubles of the x, y, and z coordinates for the corner of the window that defines the view
OppositeCornerDblArray
Array of doubles of the x, y, and z coordinates for the opposite corner of the window that defines the view
NamedView[out]
ISheetNamedView
Creates a sheet named view.

Syntax

Visual Basic 
Function CreateSheetNamedView( _
   ByVal Name As System.String, _
   ByVal Class As System.String, _
   ByVal FirstCornerDblArray As System.Object, _
   ByVal OppositeCornerDblArray As System.Object, _
   ByRef NamedView As SheetNamedView _
) As dsCreateObjectResult_e
C# 
dsCreateObjectResult_e CreateSheetNamedView( 
   System.string Name,
   System.string Class,
   System.object FirstCornerDblArray,
   System.object OppositeCornerDblArray,
   out SheetNamedView NamedView
)
JavaScript 
CreateSheetNamedView( 
   Name : String,
   Class : String,
   FirstCornerDblArray : Array,
   OppositeCornerDblArray : Array
) : {
   NamedView : dsSheetNamedView,
   Result : String
}
COM native C++ 
HRESULT CreateSheetNamedView( 
   BSTR Name,
   BSTR Class,
   VARIANT FirstCornerDblArray,
   VARIANT OppositeCornerDblArray,
   ISheetNamedView** NamedView,
   dsCreateObjectResult_e* Result
) 
C++ 
DSRESULT CreateSheetNamedView( 
   const dsString& Name,
   const dsString& Class,
   const dsDoubleArray& FirstCornerDblArray,
   const dsDoubleArray& OppositeCornerDblArray,
   dsSheetNamedView** NamedView,
   dsCreateObjectResult_e* Result
) 

Parameters

Name[out]
Name of the sheet named view
Class
Name of category to which to assign this sheet named view
FirstCornerDblArray
Array of doubles of the x, y, and z coordinates for the corner of the window that defines the view
OppositeCornerDblArray
Array of doubles of the x, y, and z coordinates for the opposite corner of the window that defines the view
NamedView[out]
ISheetNamedView
Result[out] or Return Value
Result status as defined in dsCreateObjectResult_e

Example

 

See Also

Availability

DraftSight V1R1.4