GoDiagram Web Reference
TopLeftMargin Property (GoTextNode)

Gets or sets the space between the top and left sides of the text label with the top and left sides of the background.
Syntax
'Declaration
 
<CategoryAttribute("Appearance")>
<DescriptionAttribute("The margin around the text inside the background at the left side and the top")>
<TypeConverterAttribute("Northwoods.GoWeb.GoSizeFConverter, Northwoods.GoWeb, Version=5.0.0.45, Culture=neutral, PublicKeyToken=a4e3b7b70161cfe8")>
Public Overridable Property TopLeftMargin As SizeF
[CategoryAttribute("Appearance")]
[DescriptionAttribute("The margin around the text inside the background at the left side and the top")]
[TypeConverterAttribute("Northwoods.GoWeb.GoSizeFConverter, Northwoods.GoWeb, Version=5.0.0.45, Culture=neutral, PublicKeyToken=a4e3b7b70161cfe8")]
public virtual SizeF TopLeftMargin {get; set;}
Remarks
If you change the background to be a different shape by overriding CreateBackground, you will probably want to set this margin and BottomRightMargin appropriately so that the text fits.
Requirements

Target Platforms: 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

Reference

GoTextNode Class
GoTextNode Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback