Version

HVAlignFromContentAlignment Method

Static method for converting a ContentAlignment alignment enumerator value into a VAlign and an HAlign value
Syntax
'Declaration
 
Public Shared Sub HVAlignFromContentAlignment( _
   ByVal contentAlignment As ContentAlignment, _
   ByRef halign As HAlign, _
   ByRef valign As VAlign _
) 
public static void HVAlignFromContentAlignment( 
   ContentAlignment contentAlignment,
   out HAlign halign,
   out VAlign valign
)

Parameters

contentAlignment
The System.Drawing.ContentAlignment to convert.
halign
The HAlign that should be assigned to.
valign
The VAlign that should be assigned to.
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