GoDiagram Web Reference
TopLeft Property

Gets or sets the top-left corner position of this document.
Syntax
'Declaration
 
<TypeConverterAttribute("Northwoods.GoWeb.GoPointFConverter, Northwoods.GoWeb, Version=5.0.0.45, Culture=neutral, PublicKeyToken=a4e3b7b70161cfe8")>
<DescriptionAttribute("The top-left corner position of this document.")>
Public Overridable Property TopLeft As PointF
[TypeConverterAttribute("Northwoods.GoWeb.GoPointFConverter, Northwoods.GoWeb, Version=5.0.0.45, Culture=neutral, PublicKeyToken=a4e3b7b70161cfe8")]
[DescriptionAttribute("The top-left corner position of this document.")]
public virtual PointF TopLeft {get; set;}

Property Value

The PointF value is in document coordinates. Initially this value is (0, 0).
Remarks
The default behavior is that this property automatically moves toward negative coordinates to include all of the objects in the document. This policy is implemented in UpdateDocumentBounds. Set FixedSize to avoid this default policy, or override UpdateDocumentBounds to implement your own policy. This property automatically affects what a view can show and where the user can scroll to. Note that the GoView.ShowsNegativeCoordinates property has no effect on any document. That property constrains what the user can see, even if the document includes objects at negative positions.
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

GoDocument Class
GoDocument Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback