Gets the current document default user preference value, and the minimum and maximum valid document user preference values.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetUserPreferenceDoubleValueRange( _
ByVal UserPref As System.Integer, _
ByRef Value As System.Double, _
ByRef MinValue As System.Double, _
ByRef MaxValue As System.Double _
) As System.Integer |
Visual Basic (Usage) | |
---|
Dim instance As IModelDocExtension
Dim UserPref As System.Integer
Dim Value As System.Double
Dim MinValue As System.Double
Dim MaxValue As System.Double
Dim value As System.Integer
value = instance.GetUserPreferenceDoubleValueRange(UserPref, Value, MinValue, MaxValue) |
C# | |
---|
System.int GetUserPreferenceDoubleValueRange(
System.int UserPref,
out System.double Value,
out System.double MinValue,
out System.double MaxValue
) |
C++/CLI | |
---|
System.int GetUserPreferenceDoubleValueRange(
& System.int UserPref,
& [Out] System.double Value,
& [Out] System.double MinValue,
& [Out] System.double MaxValue
) |
Parameters
- UserPref
- User preference as defined in swUserPreferenceDoubleValue_e
- Value
- Current value of UserPref; if the return value >= 0, see Remarks
- MinValue
- Minimum value of UserPref; if the return value = 0, see Remarks
- MaxValue
- Maximum value of UserPref; if the return value= 0, see Remarks
Return Value
Status upon return from this method; see
Remarks
Remarks
See Also
Availability
SOLIDWORKS 2007 FCS, Revision Number 15.0