Sets the unit display characteristics of this display dimension.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As IDisplayDimension
Dim UseDoc As Boolean
Dim UType As Integer
Dim FractBase As Integer
Dim FractDenom As Integer
Dim RoundToFraction As Boolean
Dim value As Integer
value = instance.SetUnits(UseDoc, UType, FractBase, FractDenom, RoundToFraction)
|
Parameters
- UseDoc
True uses the document settings for units, false uses the setting values passed to the arguments (see Remarks)
- UType
Unit display setting as defined in swLengthUnits_e or swAngleUnits_e
- FractBase
Decimal or fraction display setting as defined in swFractionDisplay_e
- FractDenom
Denominator for fraction display
- RoundToFraction
True rounds values to the nearest fraction, false displays fractions only if the values are exact
Return Value
Return status (see Remarks)
Remarks
See Also
Availability
SolidWorks 99, datecode 1999207