Softelvdm.Controls Class Library for Windows Controls 1.0

CalcUnrotatedBaseWidth Method, GenericPartClass Class

Softel vdm, Inc.

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


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com