Sets system default user preference values.
.NET Syntax
Visual Basic (Declaration) | |
---|
Sub SetUserPreferenceToggle( _
ByVal UserPreferenceValue As System.Integer, _
ByVal OnFlag As System.Boolean _
) |
Visual Basic (Usage) | |
---|
Dim instance As ISldWorks
Dim UserPreferenceValue As System.Integer
Dim OnFlag As System.Boolean
instance.SetUserPreferenceToggle(UserPreferenceValue, OnFlag) |
Parameters
- UserPreferenceValue
User preference as defined in swUserPreferenceToggle_e
- OnFlag
0 to toggle on UserPreferenceValue, 1 to toggle off
Return Value
True if UserPreferenceValue is set, false if not
Example
Remarks
See Also