SaveCurrentViewAsSheetView Method (IViewManager) Send Feedback
See Also  Example
Result[out]
Result status as defined in dsCreateObjectResult_e
Name[out]
Name of sheet named view
Class
Name of category to which to assign this sheet named view
NamedView[out]
ISheetNamedView
Saves the current sheet view with the specified name and category.

Syntax

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

Parameters

Name[out]
Name of sheet named view
Class
Name of category to which to assign this sheet named view
NamedView[out]
ISheetNamedView
Result[out] or Return Value
Result status as defined in dsCreateObjectResult_e

Example

 

See Also

Availability

DraftSight V1R1.4