Show / Hide Table of Contents

Interface IView

Namespace: CADability
Assembly: CADability.dll
Syntax
public interface IView

Properties

| Improve this Doc View Source

AllowContextMenu

Declaration
bool AllowContextMenu { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

AllowDrag

Declaration
bool AllowDrag { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

AllowDrop

Declaration
bool AllowDrop { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Canvas

Declaration
ICanvas Canvas { get; }
Property Value
Type Description
ICanvas
| Improve this Doc View Source

DisplayRectangle

Declaration
Rectangle DisplayRectangle { get; }
Property Value
Type Description
System.Drawing.Rectangle
| Improve this Doc View Source

LastSnapMode

Declaration
SnapPointFinder.DidSnapModes LastSnapMode { get; }
Property Value
Type Description
SnapPointFinder.DidSnapModes
| Improve this Doc View Source

LastSnapObject

Declaration
IGeoObject LastSnapObject { get; }
Property Value
Type Description
IGeoObject
| Improve this Doc View Source

Model

Declaration
Model Model { get; }
Property Value
Type Description
Model
| Improve this Doc View Source

Name

Declaration
string Name { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

PaintType

Currently we support two types "GDI" and "3D"

Declaration
string PaintType { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ProjectedModel

Declaration
ProjectedModel ProjectedModel { get; }
Property Value
Type Description
ProjectedModel
| Improve this Doc View Source

Projection

Declaration
Projection Projection { get; set; }
Property Value
Type Description
Projection

Methods

| Improve this Doc View Source

AdjustPoint(GeoPoint, Point, out GeoPoint, GeoObjectList)

Declaration
SnapPointFinder.DidSnapModes AdjustPoint(GeoPoint BasePoint, Point MousePoint, out GeoPoint WorldPoint, GeoObjectList ToIgnore)
Parameters
Type Name Description
GeoPoint BasePoint
System.Drawing.Point MousePoint
GeoPoint WorldPoint
GeoObjectList ToIgnore
Returns
Type Description
SnapPointFinder.DidSnapModes
| Improve this Doc View Source

AdjustPoint(Point, out GeoPoint, GeoObjectList)

Declaration
SnapPointFinder.DidSnapModes AdjustPoint(Point MousePoint, out GeoPoint WorldPoint, GeoObjectList ToIgnore)
Parameters
Type Name Description
System.Drawing.Point MousePoint
GeoPoint WorldPoint
GeoObjectList ToIgnore
Returns
Type Description
SnapPointFinder.DidSnapModes
| Improve this Doc View Source

Connect(ICanvas)

Declaration
void Connect(ICanvas canvas)
Parameters
Type Name Description
ICanvas canvas
| Improve this Doc View Source

DoDragDrop(GeoObjectList, DragDropEffects)

Declaration
DragDropEffects DoDragDrop(GeoObjectList dragList, DragDropEffects all)
Parameters
Type Name Description
GeoObjectList dragList
DragDropEffects all
Returns
Type Description
DragDropEffects
| Improve this Doc View Source

GetDataPresent(Object)

Declaration
GeoObjectList GetDataPresent(object data)
Parameters
Type Name Description
System.Object data
Returns
Type Description
GeoObjectList
| Improve this Doc View Source

GetShowProperties(IFrame)

Declaration
IShowProperty GetShowProperties(IFrame Frame)
Parameters
Type Name Description
IFrame Frame
Returns
Type Description
IShowProperty
| Improve this Doc View Source

HScroll(Double)

Declaration
void HScroll(double Position)
Parameters
Type Name Description
System.Double Position
| Improve this Doc View Source

Invalidate(PaintBuffer.DrawingAspect, Rectangle)

Declaration
void Invalidate(PaintBuffer.DrawingAspect aspect, Rectangle ToInvalidate)
Parameters
Type Name Description
PaintBuffer.DrawingAspect aspect
System.Drawing.Rectangle ToInvalidate
| Improve this Doc View Source

InvalidateAll()

Declaration
void InvalidateAll()
| Improve this Doc View Source

OnDragDrop(DragEventArgs)

Declaration
void OnDragDrop(DragEventArgs drgevent)
Parameters
Type Name Description
DragEventArgs drgevent
| Improve this Doc View Source

OnDragEnter(DragEventArgs)

Declaration
void OnDragEnter(DragEventArgs drgevent)
Parameters
Type Name Description
DragEventArgs drgevent
| Improve this Doc View Source

OnDragLeave(EventArgs)

Declaration
void OnDragLeave(EventArgs e)
Parameters
Type Name Description
System.EventArgs e
| Improve this Doc View Source

OnDragOver(DragEventArgs)

Declaration
void OnDragOver(DragEventArgs drgevent)
Parameters
Type Name Description
DragEventArgs drgevent
| Improve this Doc View Source

OnMouseDoubleClick(MouseEventArgs)

Declaration
void OnMouseDoubleClick(MouseEventArgs e)
Parameters
Type Name Description
MouseEventArgs e
| Improve this Doc View Source

OnMouseDown(MouseEventArgs)

Declaration
void OnMouseDown(MouseEventArgs e)
Parameters
Type Name Description
MouseEventArgs e
| Improve this Doc View Source

OnMouseEnter(EventArgs)

Declaration
void OnMouseEnter(EventArgs e)
Parameters
Type Name Description
System.EventArgs e
| Improve this Doc View Source

OnMouseHover(EventArgs)

Declaration
void OnMouseHover(EventArgs e)
Parameters
Type Name Description
System.EventArgs e
| Improve this Doc View Source

OnMouseLeave(EventArgs)

Declaration
void OnMouseLeave(EventArgs e)
Parameters
Type Name Description
System.EventArgs e
| Improve this Doc View Source

OnMouseMove(MouseEventArgs)

Declaration
void OnMouseMove(MouseEventArgs e)
Parameters
Type Name Description
MouseEventArgs e
| Improve this Doc View Source

OnMouseUp(MouseEventArgs)

Declaration
void OnMouseUp(MouseEventArgs e)
Parameters
Type Name Description
MouseEventArgs e
| Improve this Doc View Source

OnMouseWheel(MouseEventArgs)

Declaration
void OnMouseWheel(MouseEventArgs e)
Parameters
Type Name Description
MouseEventArgs e
| Improve this Doc View Source

OnPaint(PaintEventArgs)

Declaration
void OnPaint(PaintEventArgs e)
Parameters
Type Name Description
PaintEventArgs e
| Improve this Doc View Source

OnSizeChanged(Rectangle)

Declaration
void OnSizeChanged(Rectangle oldClientRectangle)
Parameters
Type Name Description
System.Drawing.Rectangle oldClientRectangle
| Improve this Doc View Source

PickObjects(Point, PickMode)

Declaration
GeoObjectList PickObjects(Point MousePoint, PickMode pickMode)
Parameters
Type Name Description
System.Drawing.Point MousePoint
PickMode pickMode
Returns
Type Description
GeoObjectList
| Improve this Doc View Source

RemovePaintHandler(PaintBuffer.DrawingAspect, PaintView)

Declaration
void RemovePaintHandler(PaintBuffer.DrawingAspect aspect, PaintView PaintHandler)
Parameters
Type Name Description
PaintBuffer.DrawingAspect aspect
PaintView PaintHandler
| Improve this Doc View Source

SetCursor(String)

Declaration
void SetCursor(string cursor)
Parameters
Type Name Description
System.String cursor
| Improve this Doc View Source

SetPaintHandler(PaintBuffer.DrawingAspect, PaintView)

Declaration
void SetPaintHandler(PaintBuffer.DrawingAspect aspect, PaintView PaintHandler)
Parameters
Type Name Description
PaintBuffer.DrawingAspect aspect
PaintView PaintHandler
| Improve this Doc View Source

VScroll(Double)

Declaration
void VScroll(double Position)
Parameters
Type Name Description
System.Double Position
| Improve this Doc View Source

ZoomDelta(Double)

Declaration
void ZoomDelta(double f)
Parameters
Type Name Description
System.Double f
| Improve this Doc View Source

ZoomToRect(BoundingRect)

Declaration
void ZoomToRect(BoundingRect World2D)
Parameters
Type Name Description
BoundingRect World2D
| Improve this Doc View Source

ZoomTotal(Double)

Declaration
void ZoomTotal(double f)
Parameters
Type Name Description
System.Double f

Events

| Improve this Doc View Source

ScrollPositionChangedEvent

Declaration
event ScrollPositionChanged ScrollPositionChangedEvent
Event Type
Type Description
ScrollPositionChanged
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX