GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoView Class / DocPosition Property
In This Topic
    DocPosition Property
    In This Topic
    Gets or sets the position in the document that this view is displaying.
    Syntax
    [Category("Appearance")]
    [ReadOnly(true)]
    [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
    [Description("The position in the document that this view is displaying.")]
    public virtual PointF DocPosition {get; set;}

    Property Value

    The PointF value is in document coordinates and corresponds to this view's top-left corner's position in the document. Initially the value is (0, 0).
    Remarks
    When setting this property, it first adjusts the value by calling LimitDocPosition.
    See Also