Gets or sets whether the model document is opened view-only.
.NET Syntax
Visual Basic (Declaration) | |
---|
Property ViewOnly As Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IDocumentSpecification
Dim value As Boolean
instance.ViewOnly = value
value = instance.ViewOnly
|
C# | |
---|
bool ViewOnly {get; set;} |
C++/CLI | |
---|
property bool ViewOnly {
bool get();
void set (bool value);
} |
Return Value
True to open the document view-only, false to not
Example
See Also
Availability
SolidWorks 2008 FCS, Revision Number 16.0