Class GDI2DView
Inheritance
System.Object
GDI2DView
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.Serialization.IDeserializationCallback
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()
Assembly: CADability.dll
Syntax
[Serializable]
public class GDI2DView : IShowPropertyImpl, IShowProperty, IPropertyEntry, ICommandHandler, IView, IActionInputView, ISerializable, IDeserializationCallback
Constructors
|
Improve this Doc
View Source
GDI2DView()
Declaration
|
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
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
Declaration
public override MenuWithHandler[] ContextMenu { get; }
Property Value
Overrides
|
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
Declaration
public override ShowPropertyEntryType EntryType { get; }
Property Value
Overrides
|
Improve this Doc
View Source
LabelText
Declaration
public override string LabelText { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Overrides
|
Improve this Doc
View Source
LabelType
Declaration
public override ShowPropertyLabelFlags LabelType { get; }
Property Value
Overrides
|
Improve this Doc
View Source
Model
Declaration
public Model Model { get; set; }
Property Value
|
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
Overrides
|
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
|
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
Methods
|
Improve this Doc
View Source
Added(IPropertyPage)
Declaration
public override void Added(IPropertyPage propertyTreeView)
Parameters
Overrides
|
Improve this Doc
View Source
DoDragDrop(GeoObjectList, DragDropEffects)
Declaration
public DragDropEffects DoDragDrop(GeoObjectList dragList, DragDropEffects all)
Parameters
Returns
|
Improve this Doc
View Source
Init()
Declaration
|
Improve this Doc
View Source
LabelChanged(String)
Declaration
public override void LabelChanged(string NewText)
Parameters
| Type |
Name |
Description |
| System.String |
NewText |
|
Overrides
|
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)
Declaration
public override void Removed(IPropertyTreeView propertyTreeView)
Parameters
Overrides
|
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
|
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
|
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
|
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
|
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
|
Improve this Doc
View Source
PaintActiveEvent
Declaration
public event PaintView PaintActiveEvent
Event Type
|
Improve this Doc
View Source
PaintBackgroundEvent
Declaration
public event PaintView PaintBackgroundEvent
Event Type
|
Improve this Doc
View Source
PaintDrawingEvent
Declaration
public event PaintView PaintDrawingEvent
Event Type
|
Improve this Doc
View Source
PaintSelectEvent
Declaration
public event PaintView PaintSelectEvent
Event Type
|
Improve this Doc
View Source
Declaration
public event ScrollPositionChanged ScrollPositionChangedEvent
Event Type
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
Returns
|
Improve this Doc
View Source
IView.AdjustPoint(Point, out GeoPoint, GeoObjectList)
Declaration
SnapPointFinder.DidSnapModes IView.AdjustPoint(Point MousePoint, out GeoPoint WorldPoint, GeoObjectList ToIgnore)
Parameters
Returns
|
Improve this Doc
View Source
IView.Canvas
Declaration
ICanvas IView.Canvas { get; }
Returns
|
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
Returns
|
Improve this Doc
View Source
IView.GetDataPresent(Object)
Declaration
GeoObjectList IView.GetDataPresent(object data)
Parameters
| Type |
Name |
Description |
| System.Object |
data |
|
Returns
|
Improve this Doc
View Source
IView.GetShowProperties(IFrame)
Declaration
IShowProperty IView.GetShowProperties(IFrame Frame)
Parameters
| Type |
Name |
Description |
| IFrame |
Frame |
|
Returns
|
Improve this Doc
View Source
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
|
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
|
Improve this Doc
View Source
IView.LastSnapObject
Declaration
IGeoObject IView.LastSnapObject { get; }
Returns
|
Improve this Doc
View Source
IView.Model
Declaration
Model IView.Model { get; }
Returns
|
Improve this Doc
View Source
IView.OnDragDrop(DragEventArgs)
Declaration
void IView.OnDragDrop(DragEventArgs drgevent)
Parameters
|
Improve this Doc
View Source
IView.OnDragEnter(DragEventArgs)
Declaration
void IView.OnDragEnter(DragEventArgs drgevent)
Parameters
|
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
|
Improve this Doc
View Source
IView.OnMouseDoubleClick(MouseEventArgs)
Declaration
void IView.OnMouseDoubleClick(MouseEventArgs e)
Parameters
|
Improve this Doc
View Source
IView.OnMouseDown(MouseEventArgs)
Declaration
void IView.OnMouseDown(MouseEventArgs eIn)
Parameters
|
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
|
Improve this Doc
View Source
IView.OnMouseUp(MouseEventArgs)
Declaration
void IView.OnMouseUp(MouseEventArgs eIn)
Parameters
|
Improve this Doc
View Source
IView.OnMouseWheel(MouseEventArgs)
Declaration
void IView.OnMouseWheel(MouseEventArgs e)
Parameters
|
Improve this Doc
View Source
IView.OnPaint(PaintEventArgs)
Declaration
void IView.OnPaint(PaintEventArgs e)
Parameters
|
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
|
Improve this Doc
View Source
IView.ProjectedModel
Declaration
ProjectedModel IView.ProjectedModel { get; }
Returns
|
Improve this Doc
View Source
IView.Projection
Declaration
Projection IView.Projection { get; set; }
Returns
|
Improve this Doc
View Source
IView.RemovePaintHandler(PaintBuffer.DrawingAspect, PaintView)
Declaration
void IView.RemovePaintHandler(PaintBuffer.DrawingAspect aspect, PaintView PaintHandler)
Parameters
|
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
|
Improve this Doc
View Source
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
|
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
System.Runtime.Serialization.ISerializable
System.Runtime.Serialization.IDeserializationCallback