GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoOverview Class
Members
In This Topic
    GoOverview Class
    In This Topic
    Provide a reduced-scale view of a document, showing the size and position of another view's viewport onto that same document, and support panning and zooming of that observed view.
    Syntax
    [ToolboxItem(true)]
    [ToolboxBitmap(Northwoods.Go.GoOverview, "Northwoods.Go.GoOverview.bmp")]
    [DefaultProperty("Text")]
    [DefaultEvent("Click")]
    [Designer("System.Windows.Forms.Design.ControlDesigner, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [DesignerSerializer("System.Windows.Forms.Design.ControlCodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [ToolboxItemFilter("System.Windows.Forms")]
    [DesignerCategory("Component")]
    public class GoOverview : GoView, IGoLayerAbilities, IGoLayerCollectionContainer  
    Remarks

    The user can drag around the rectangle representing the observed view's viewport in order to scroll it and can resize it to change the scale of the observed view. Clicking will move the observed view's viewport to that location in the view's document. Doing a rubber-band drag will change the observed view's position and scale to match the box that was drawn, because by default it replaces the standard GoToolRubberBanding tool with an instance of GoToolZooming.

    The rectangle displaying the Observed GoView's GoView.DocExtent is implemented by a GoOverviewRectangle, created by the CreateOverviewRectangle method, and accessible by the OverviewRect property.

    Most of the document-modifying-ability properties have been turned off: GoView.AllowCopy, GoView.AllowDelete, GoView.AllowInsert, GoView.AllowLink, GoView.AllowEdit, GoView.AllowDragOut, and AllowDrop. The user cannot pick any document object. The only pickable object is the OverviewRect, which is in this overview's default layer. Grids are also disabled for this view.

    See Also