Sets document default user preference values. This method is intended for user preferences of type double.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function SetUserPreferenceDouble( _
ByVal UserPref As System.Integer, _
ByVal UserPrefOption As System.Integer, _
ByVal Value As System.Double _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IModelDocExtension
Dim UserPref As System.Integer
Dim UserPrefOption As System.Integer
Dim Value As System.Double
Dim value As System.Boolean
value = instance.SetUserPreferenceDouble(UserPref, UserPrefOption, Value) |
Parameters
- UserPref
- User preference as defined in swUserPreferenceDoubleValue_e
- UserPrefOption
User-preference option for customizing annotation and dimension drafting standards and as defined in swUserPreferenceOption_e; if not needed, then specify swDetailingNoOptionSpecified
- Value
Value to assign to the user preference specified in UserPref
Return Value
True if the user preference is set, false if not
Example
Remarks
See Also
Availability
SOLIDWORKS 2009 FCS, Revision Number 17.0