Sets document default user preference values. This method is intended for user preferences of type string.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function SetUserPreferenceString( _
ByVal UserPref As System.Integer, _
ByVal UserPrefOption As System.Integer, _
ByVal Value As System.String _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IModelDocExtension
Dim UserPref As System.Integer
Dim UserPrefOption As System.Integer
Dim Value As System.String
Dim value As System.Boolean
value = instance.SetUserPreferenceString(UserPref, UserPrefOption, Value) |
Parameters
- UserPref
- User preference as defined in swUserPreferenceStringValue_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 of the user preference specified in UserPreference
Return Value
True if user preference is set, false if not
Example
Remarks
See Also
Availability
SOLIDWORKS 2009 FCS, Revision Number 17.0