Control..::..AlignText Method (String, Alignment, Margin, Int32, )

Aligns the text.

Namespace:  Squid
Assembly:  Squid.Core (in Squid.Core.dll)

Syntax


protected Point AlignText(
	string text,
	Alignment align,
	Margin padding,
	int font,
	out Point tsize
)
Protected Function AlignText ( _
	text As String, _
	align As Alignment, _
	padding As Margin, _
	font As Integer, _
	<OutAttribute> ByRef tsize As Point _
) As Point
protected:
Point^ AlignText(
	String^ text, 
	Alignment^ align, 
	Margin^ padding, 
	int^ font, 
	[OutAttribute] Point^% tsize
)

Parameters

text
Type: String
The text.
align
Type: Alignment
The align.
padding
Type: Margin
The padding.
font
Type: Int32
The font.
tsize
Type: Point%
The tsize.

Return Value

Point.