menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ViewportRenderer - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ViewportRenderer

    Viewport renderer.

    Inheritance
    System.Object
    ViewportRenderer
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Forms.Diagram.Controls
    Assembly: Syncfusion.Diagram.Windows.dll
    Syntax
    public sealed class ViewportRenderer

    Constructors

    ViewportRenderer(OverviewControl)

    Initializes a new instance of the ViewportRenderer class.

    Declaration
    public ViewportRenderer(OverviewControl hostctrl)
    Parameters
    Type Name Description
    OverviewControl hostctrl

    The host control.

    Fields

    nViewportBorder

    Declaration
    public int nViewportBorder
    Field Value
    Type
    System.Int32

    rcBottomEdge

    Declaration
    public RectangleF rcBottomEdge
    Field Value
    Type
    System.Drawing.RectangleF

    rcLBcorner

    Declaration
    public RectangleF rcLBcorner
    Field Value
    Type
    System.Drawing.RectangleF

    rcLeftEdge

    Declaration
    public RectangleF rcLeftEdge
    Field Value
    Type
    System.Drawing.RectangleF

    rcLTcorner

    Declaration
    public RectangleF rcLTcorner
    Field Value
    Type
    System.Drawing.RectangleF

    rcRBcorner

    Declaration
    public RectangleF rcRBcorner
    Field Value
    Type
    System.Drawing.RectangleF

    rcRightEdge

    Declaration
    public RectangleF rcRightEdge
    Field Value
    Type
    System.Drawing.RectangleF

    rcRTcorner

    Declaration
    public RectangleF rcRTcorner
    Field Value
    Type
    System.Drawing.RectangleF

    rcTopEdge

    Declaration
    public RectangleF rcTopEdge
    Field Value
    Type
    System.Drawing.RectangleF

    Properties

    SizingRect

    Gets or sets the sizing rect.

    Declaration
    public RectangleF SizingRect { get; set; }
    Property Value
    Type Description
    System.Drawing.RectangleF

    The sizing rect.

    ViewportRect

    Gets or sets the viewport rectangle.

    Declaration
    public RectangleF ViewportRect { get; set; }
    Property Value
    Type Description
    System.Drawing.RectangleF

    The viewport rectangle.

    Methods

    DrawViewport(Graphics, Color)

    Draws the viewport to graphics.

    Declaration
    public void DrawViewport(Graphics grfx, Color brushclr)
    Parameters
    Type Name Description
    System.Drawing.Graphics grfx

    Graphics to draw on.

    System.Drawing.Color brushclr

    The brush color.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved