Version

TranslateAlignment Method

Adjusts the specified horizontal and vertical alignments based on how the items is rotated.
Syntax
'Declaration
 
Public Shared Sub TranslateAlignment( _
   ByRef hAlign As HAlign, _
   ByRef vAlign As VAlign, _
   ByVal vertical As Boolean, _
   ByVal rotated As Boolean _
) 
public static void TranslateAlignment( 
   ref HAlign hAlign,
   ref VAlign vAlign,
   bool vertical,
   bool rotated
)

Parameters

hAlign
Horizontal alignment to adjust
vAlign
Vertical alignment to adjust
vertical
True if the item will be displayed vertically
rotated
True if the item is rotated 180 degrees
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also