GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoDocument Class / TopLeft Property
In This Topic
    TopLeft Property
    In This Topic
    Gets or sets the top-left corner position of this document.
    Syntax
    [Description("The top-left corner position of this document.")]
    [TypeConverter(Northwoods.Go.GoPointFConverter)]
    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.
    See Also