Class ViewportRenderer
Inheritance
System.Object
ViewportRenderer
Assembly: Syncfusion.Diagram.Windows.dll
public sealed class ViewportRenderer : Object
Constructors
Declaration
public ViewportRenderer(OverviewControl hostctrl)
Parameters
Fields
Declaration
public int nViewportBorder
Field Value
Declaration
public RectangleF rcBottomEdge
Field Value
| Type |
| System.Drawing.RectangleF |
Declaration
public RectangleF rcLBcorner
Field Value
| Type |
| System.Drawing.RectangleF |
Declaration
public RectangleF rcLeftEdge
Field Value
| Type |
| System.Drawing.RectangleF |
Declaration
public RectangleF rcLTcorner
Field Value
| Type |
| System.Drawing.RectangleF |
Declaration
public RectangleF rcRBcorner
Field Value
| Type |
| System.Drawing.RectangleF |
Declaration
public RectangleF rcRightEdge
Field Value
| Type |
| System.Drawing.RectangleF |
Declaration
public RectangleF rcRTcorner
Field Value
| Type |
| System.Drawing.RectangleF |
Declaration
public RectangleF rcTopEdge
Field Value
| Type |
| System.Drawing.RectangleF |
Properties
Gets or sets the sizing rect.
Declaration
public RectangleF SizingRect { get; set; }
Property Value
| Type |
Description |
| System.Drawing.RectangleF |
The sizing rect.
|
Gets or sets the viewport rectangle.
Declaration
public RectangleF ViewportRect { get; set; }
Property Value
| Type |
Description |
| System.Drawing.RectangleF |
The viewport rectangle.
|
Methods
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.
|