Show / Hide Table of Contents

Class GDI2DView

Inheritance
System.Object
IShowPropertyImpl
GDI2DView
Implements
IShowProperty
IPropertyEntry
ICommandHandler
IView
System.Runtime.Serialization.ISerializable
System.Runtime.Serialization.IDeserializationCallback
Inherited Members
IShowPropertyImpl.propertyTreeView
IShowPropertyImpl.labelText
IShowPropertyImpl.resourceId
IShowPropertyImpl.flagsToSuppress
IShowPropertyImpl.SuppressFlags(ShowPropertyLabelFlags)
IShowPropertyImpl.Frame
IShowPropertyImpl.IShowProperty.Added(IPropertyTreeView)
IShowPropertyImpl.Added(IPropertyTreeView)
IShowPropertyImpl.Selected()
IShowPropertyImpl.UnSelected()
IShowPropertyImpl.ChildSelected(IShowProperty)
IShowPropertyImpl.Opened(Boolean)
IShowPropertyImpl.ShowOpen(Boolean)
IShowPropertyImpl.Select()
IShowPropertyImpl.InfoText
IShowPropertyImpl.HelpLink
IShowPropertyImpl.OwnerDrawHeight
IShowPropertyImpl.IShowProperty.SetTabIndex(Int32)
IShowPropertyImpl.StateChangedEvent
IShowPropertyImpl.SetFocus()
IShowPropertyImpl.Hidden
IShowPropertyImpl.ReadOnly
IShowPropertyImpl.Refresh()
IShowPropertyImpl.OnEnterPressed()
IShowPropertyImpl.OnVisibilityChanged(Boolean)
IShowPropertyImpl.IsSelected
IShowPropertyImpl.Concat(IShowProperty[], IShowProperty[])
IShowPropertyImpl.Update(IShowProperty)
IShowPropertyImpl.SelectedBckgColor
IShowPropertyImpl.SelectedTextColor
IShowPropertyImpl.UnselectedBckgColor
IShowPropertyImpl.UnselectedTextColor
IShowPropertyImpl.IPropertyEntry.IsOpen
IShowPropertyImpl.HasDropDownButton
IShowPropertyImpl.ValueIsEditable
IShowPropertyImpl.Flags
IShowPropertyImpl.Label
IShowPropertyImpl.Value
IShowPropertyImpl.ResourceId
IShowPropertyImpl.Parent
IShowPropertyImpl.SubItems
IShowPropertyImpl.ButtonClicked(PropertyEntryButton)
IShowPropertyImpl.OpenOrCloseSubEntries()
IShowPropertyImpl.propertyPage
IShowPropertyImpl.Removed(IPropertyPage)
IShowPropertyImpl.GetDropDownList()
IShowPropertyImpl.StartEdit(Boolean)
IShowPropertyImpl.EndEdit(Boolean, Boolean, String)
IShowPropertyImpl.EditTextChanged(String)
IShowPropertyImpl.IPropertyEntry.Index
IShowPropertyImpl.IPropertyEntry.IndentLevel
IShowPropertyImpl.Selected(IPropertyEntry)
IShowPropertyImpl.UnSelected(IPropertyEntry)
IShowPropertyImpl.ListBoxSelected(Int32)
IShowPropertyImpl.DeferUpdate
IShowPropertyImpl.PropertyEntryChangedStateEvent
IShowPropertyImpl.PropertyEntryChangedState(StateChangedArgs)
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: CADability
Assembly: CADability.dll
Syntax
[Serializable]
public class GDI2DView : IShowPropertyImpl, IShowProperty, IPropertyEntry, ICommandHandler, IView, IActionInputView, ISerializable, IDeserializationCallback

Constructors

| Improve this Doc View Source

GDI2DView()

Declaration
protected GDI2DView()
| Improve this Doc View Source

GDI2DView(Project, Model, IFrame)

Creates a new AnimatedView object. In oder to display this view on the screen you need to add this view to a IFrame and set it as the ActiveView.

Declaration
public GDI2DView(Project project, Model model, IFrame frame)
Parameters
Type Name Description
Project project

The project that contains the lists of all schedules (if needed)

Model model

The model that is displayed and contains the list of all drives

IFrame frame

The frame which is the context of this view

| Improve this Doc View Source

GDI2DView(SerializationInfo, StreamingContext)

Declaration
protected GDI2DView(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo info
System.Runtime.Serialization.StreamingContext context

Properties

| Improve this Doc View Source

AllowContextMenu

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

AllowDrag

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

AllowDrop

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

BackgroundColor

Declaration
public Color BackgroundColor { get; set; }
Property Value
Type Description
System.Drawing.Color
| Improve this Doc View Source

ContextMenu

Declaration
public override MenuWithHandler[] ContextMenu { get; }
Property Value
Type Description
MenuWithHandler[]
Overrides
IShowPropertyImpl.ContextMenu
| Improve this Doc View Source

DeferRefresh

If set to true, any updates to the model will be ignored until set to false

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

EntryType

Overrides EntryType, returns GroupTitle.

Declaration
public override ShowPropertyEntryType EntryType { get; }
Property Value
Type Description
ShowPropertyEntryType
Overrides
IShowPropertyImpl.EntryType
| Improve this Doc View Source

LabelText

Declaration
public override string LabelText { get; set; }
Property Value
Type Description
System.String
Overrides
IShowPropertyImpl.LabelText
| Improve this Doc View Source

LabelType

Overrides LabelType

Declaration
public override ShowPropertyLabelFlags LabelType { get; }
Property Value
Type Description
ShowPropertyLabelFlags
Overrides
IShowPropertyImpl.LabelType
| Improve this Doc View Source

Model

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

Name

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

PaperHeight

Declaration
public double PaperHeight { get; set; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

PaperWidth

Declaration
public double PaperWidth { get; set; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

ShowCoordCross

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

ShowPaper

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

SubEntries

Overrides SubEntries, returns the subentries in this property view.

Declaration
public override IShowProperty[] SubEntries { get; }
Property Value
Type Description
IShowProperty[]
Overrides
IShowPropertyImpl.SubEntries
| Improve this Doc View Source

SubEntriesCount

Overrides SubEntriesCount, returns the number of subentries in this property view.

Declaration
public override int SubEntriesCount { get; }
Property Value
Type Description
System.Int32
Overrides
IShowPropertyImpl.SubEntriesCount
| Improve this Doc View Source

ThinLinesOnly

Use only thin lines for display

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

UseDisplayOrder

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

VisibleLayers

Declaration
public CheckedLayerList VisibleLayers { get; }
Property Value
Type Description
CheckedLayerList

Methods

| Improve this Doc View Source

Added(IPropertyPage)

Overrides Added(IPropertyTreeView)

Declaration
public override void Added(IPropertyPage propertyTreeView)
Parameters
Type Name Description
IPropertyPage propertyTreeView
Overrides
IShowPropertyImpl.Added(IPropertyPage)
| Improve this Doc View Source

DoDragDrop(GeoObjectList, DragDropEffects)

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

Init()

Declaration
protected void Init()
| Improve this Doc View Source

LabelChanged(String)

Overrides LabelChanged(String)

Declaration
public override void LabelChanged(string NewText)
Parameters
Type Name Description
System.String NewText
Overrides
IShowPropertyImpl.LabelChanged(String)
| Improve this Doc View Source

PrintSinglePage(PrintDocument)

Declaration
public void PrintSinglePage(PrintDocument pd)
Parameters
Type Name Description
System.Drawing.Printing.PrintDocument pd
| Improve this Doc View Source

Removed(IPropertyTreeView)

Overrides Removed(IPropertyTreeView)

Declaration
public override void Removed(IPropertyTreeView propertyTreeView)
Parameters
Type Name Description
IPropertyTreeView propertyTreeView
Overrides
IShowPropertyImpl.Removed(IPropertyTreeView)
| Improve this Doc View Source

ZoomToModelExtent(Double)

Zooms to the extend of the model. The projection direction is not changed.

Declaration
public void ZoomToModelExtent(double factor)
Parameters
Type Name Description
System.Double factor
| Improve this Doc View Source

ZoomTotal(Double)

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

Events

| Improve this Doc View Source

MouseDoubleClick

Provide an event handler for the mouse double click message here if you want to manipulate the mouse input to this ModelView

Declaration
public event MouseFilterDelegate MouseDoubleClick
Event Type
Type Description
MouseFilterDelegate
| Improve this Doc View Source

MouseDown

Provide an event handler for the mouse down message here if you want to manipulate the mouse input to this ModelView

Declaration
public event MouseFilterDelegate MouseDown
Event Type
Type Description
MouseFilterDelegate
| Improve this Doc View Source

MouseMove

Provide an event handler for the mouse move message here if you want to manipulate the mouse input to this ModelView

Declaration
public event MouseFilterDelegate MouseMove
Event Type
Type Description
MouseFilterDelegate
| Improve this Doc View Source

MouseUp

Provide an event handler for the mouse up message here if you want to manipulate the mouse input to this ModelView

Declaration
public event MouseFilterDelegate MouseUp
Event Type
Type Description
MouseFilterDelegate
| Improve this Doc View Source

MouseWheel

Provide an event handler for the mouse wheel message here if you want to manipulate the mouse input to this ModelView

Declaration
public event MouseFilterDelegate MouseWheel
Event Type
Type Description
MouseFilterDelegate
| Improve this Doc View Source

PaintActiveEvent

Declaration
public event PaintView PaintActiveEvent
Event Type
Type Description
PaintView
| Improve this Doc View Source

PaintBackgroundEvent

Declaration
public event PaintView PaintBackgroundEvent
Event Type
Type Description
PaintView
| Improve this Doc View Source

PaintDrawingEvent

Declaration
public event PaintView PaintDrawingEvent
Event Type
Type Description
PaintView
| Improve this Doc View Source

PaintSelectEvent

Declaration
public event PaintView PaintSelectEvent
Event Type
Type Description
PaintView
| Improve this Doc View Source

ScrollPositionChangedEvent

Declaration
public event ScrollPositionChanged ScrollPositionChangedEvent
Event Type
Type Description
ScrollPositionChanged

Explicit Interface Implementations

| Improve this Doc View Source

IView.AdjustPoint(GeoPoint, Point, out GeoPoint, GeoObjectList)

Declaration
SnapPointFinder.DidSnapModes IView.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

IView.AdjustPoint(Point, out GeoPoint, GeoObjectList)

Declaration
SnapPointFinder.DidSnapModes IView.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

IView.Canvas

Declaration
ICanvas IView.Canvas { get; }
Returns
Type Description
ICanvas
| Improve this Doc View Source

IView.Connect(ICanvas)

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

IView.DisplayRectangle

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

IView.DoDragDrop(GeoObjectList, DragDropEffects)

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

IView.GetDataPresent(Object)

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

IView.GetShowProperties(IFrame)

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

IView.HScroll(Double)

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

IView.Invalidate(PaintBuffer.DrawingAspect, Rectangle)

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

IView.InvalidateAll()

Declaration
void IView.InvalidateAll()
| Improve this Doc View Source

IView.LastSnapMode

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

IView.LastSnapObject

Declaration
IGeoObject IView.LastSnapObject { get; }
Returns
Type Description
IGeoObject
| Improve this Doc View Source

IView.Model

Declaration
Model IView.Model { get; }
Returns
Type Description
Model
| Improve this Doc View Source

IView.OnDragDrop(DragEventArgs)

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

IView.OnDragEnter(DragEventArgs)

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

IView.OnDragLeave(EventArgs)

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

IView.OnDragOver(DragEventArgs)

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

IView.OnMouseDoubleClick(MouseEventArgs)

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

IView.OnMouseDown(MouseEventArgs)

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

IView.OnMouseEnter(EventArgs)

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

IView.OnMouseHover(EventArgs)

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

IView.OnMouseLeave(EventArgs)

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

IView.OnMouseMove(MouseEventArgs)

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

IView.OnMouseUp(MouseEventArgs)

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

IView.OnMouseWheel(MouseEventArgs)

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

IView.OnPaint(PaintEventArgs)

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

IView.OnSizeChanged(Rectangle)

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

IView.PaintType

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

IView.PickObjects(Point, PickMode)

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

IView.ProjectedModel

Declaration
ProjectedModel IView.ProjectedModel { get; }
Returns
Type Description
ProjectedModel
| Improve this Doc View Source

IView.Projection

Declaration
Projection IView.Projection { get; set; }
Returns
Type Description
Projection
| Improve this Doc View Source

IView.RemovePaintHandler(PaintBuffer.DrawingAspect, PaintView)

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

IView.SetCursor(String)

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

IView.SetPaintHandler(PaintBuffer.DrawingAspect, PaintView)

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

IView.VScroll(Double)

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

IView.ZoomDelta(Double)

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

IView.ZoomToRect(BoundingRect)

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

ICommandHandler.OnCommand(String)

Declaration
bool ICommandHandler.OnCommand(string MenuId)
Parameters
Type Name Description
System.String MenuId
Returns
Type Description
System.Boolean
| Improve this Doc View Source

ICommandHandler.OnSelected(MenuWithHandler, Boolean)

Declaration
void ICommandHandler.OnSelected(MenuWithHandler selectedMenuItem, bool selected)
Parameters
Type Name Description
MenuWithHandler selectedMenuItem
System.Boolean selected
| Improve this Doc View Source

ICommandHandler.OnUpdateCommand(String, CommandState)

Declaration
bool ICommandHandler.OnUpdateCommand(string MenuId, CommandState CommandState)
Parameters
Type Name Description
System.String MenuId
CommandState CommandState
Returns
Type Description
System.Boolean
| Improve this Doc View Source

IDeserializationCallback.OnDeserialization(Object)

Declaration
void IDeserializationCallback.OnDeserialization(object sender)
Parameters
Type Name Description
System.Object sender
| Improve this Doc View Source

ISerializable.GetObjectData(SerializationInfo, StreamingContext)

Declaration
void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo info
System.Runtime.Serialization.StreamingContext context

Implements

IShowProperty
IPropertyEntry
ICommandHandler
IView
System.Runtime.Serialization.ISerializable
System.Runtime.Serialization.IDeserializationCallback
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX