Calculates the actual width of the part, based on the width of the rotated part's containing rectangle.
Class: GenericPartClass
Namespace: Softelvdm.Controls
Assembly: Softelvdm.SftTreeNET
protected int CalcUnrotatedBaseWidth( int rotatedWidth );
Protected Function CalcUnrotatedBaseWidth( ByVal rotatedWidth As Integer ) As Integer
rotatedWidth
The width of the rotated part's containing rectangle.
The actual width of the non-rotated part.
Calculates the actual width of the part, based on the width of the rotated part's containing rectangle.
This method is typically used to determine the actual size of a rotated part, based on the rectangular space occupied by a rotated part. The part's GenericPartClass.Angle property is used for all calculations.
See Also GenericPartClass Class | Classes | SftTree/NET 2.0