GoDiagram Win Reference
TopLeft Property

Gets or sets the top-left corner position of this document.
Syntax
'Declaration
 
<DescriptionAttribute("The top-left corner position of this document.")>
<TypeConverterAttribute("Northwoods.Go.GoPointFConverter, Northwoods.Go, Version=5.1.0.45, Culture=neutral, PublicKeyToken=a4e3b7b70161cfe8")>
Public Overridable Property TopLeft As PointF
[DescriptionAttribute("The top-left corner position of this document.")]
[TypeConverterAttribute("Northwoods.Go.GoPointFConverter, Northwoods.Go, Version=5.1.0.45, Culture=neutral, PublicKeyToken=a4e3b7b70161cfe8")]
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

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback