|
|
|
CalcUnrotatedBaseWidth Method, GenericPartClass Class |
Calculates the actual width of the part, based on the width of the rotated part's containing rectangle.
Syntax GenericPartClass Class (Softelvdm.Controls)
VB |
Protected Function CalcUnrotatedBaseWidth( ByVal rotatedWidth As Integer ) As Integer |
C# |
protected int CalcUnrotatedBaseWidth( int rotatedWidth ); |
C++ |
protected: int CalcUnrotatedBaseWidth( int rotatedWidth ); |
rotatedWidth
The width of the rotated part's containing rectangle.
Return Value
The actual width of the non-rotated part.
Comments
The CalcUnrotatedBaseWidth method calculates the actual width of the part, based on the width of the rotated part's containing rectangle.
This function 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 Angle property is used for all calculations.
Version Information
Supported in version 1.0.
Products Table