ICADView
Properties
CADFile |
CADFile CADFile | |
ContextMenuPoint readonly |
Point ContextMenuPoint | |
Control readonly |
UserControl Control | |
CurrentEditMode | EditMode CurrentEditMode | |
DrawingTree | CBFileTreeView DrawingTree | |
Grid readonly |
DrawingGrid Grid | |
IsThinking readonly |
bool IsThinking | |
SelectedEntities readonly |
object[ ] SelectedEntities | |
Selection readonly |
CADSelections Selection | |
ViewProjection readonly |
ViewProjection ViewProjection |
Methods
AddControl | void AddControl(Control c) | |
AddSnapPoint |
void AddSnapPoint(Point3F p) | |
ClearSelections | void ClearSelections() | |
DrawingToScreen | PointF DrawingToScreen(Point3F pDrawing) Return the corresponding screen coordinates (in pixels) of a point in the view (drawing area) 0,0 is in the upper left corner of the drawing area |
VB |
GetEntityAtViewPoint | EntityTestResult GetEntityAtViewPoint(Point pt) | |
GetPrimitiveAtPoint | Entity GetPrimitiveAtPoint(Point pt) Return the primitive under the given position in pixels |
VB |
GetPrimitiveAtPoint | Entity GetPrimitiveAtPoint(Point pt, ref Point3F NearestVertex) | |
GetSelectionPoint | Point3F GetSelectionPoint(Point mp) | |
GetSnapPoint | Point3F GetSnapPoint(Point mp, float tolerance) Return the closest snap point (object snap point only) to the given pixel position on the view |
VB |
IsSelected | bool IsSelected(Entity ent) | |
IsViewRotate | bool IsViewRotate() | |
OnKeyDown | void OnKeyDown(object sender, KeyEventArgs e) | |
RefreshView | void RefreshView() | |
RefreshView | void RefreshView(bool repaint_edit_mode) | |
RemoveControl | void RemoveControl(Control c) | |
RepaintEditMode | void RepaintEditMode() | |
ResetTranslations | void ResetTranslations() | |
ResumeRefresh | void ResumeRefresh() | |
ScreenToDrawing | Point3F ScreenToDrawing(PointF pScreen) Return the corresponding view coordinates (in drawing unit) of a point in the view (in pixels) |
VB |
Select | void Select(ArrayList objects) | |
Select | void Select(ICollection<Entity> entities) | |
Select | void Select(Entity ent) | |
SelectAllLayerGeometry | void SelectAllLayerGeometry() | |
SelectAllLayerGeometry | void SelectAllLayerGeometry(Layer layer) | |
SelectAllVisibleGeometry | void SelectAllVisibleGeometry() | |
SelectObjects | void SelectObjects(object[ ] objects) | |
SetEditMode | void SetEditMode(EditMode em) | |
SetEditMode | void SetEditMode(EditMode em, bool replaceexisting) | |
StartThinking | void StartThinking(bool bShowCancel) | |
StopThinking | void StopThinking() | |
SuspendRefresh | void SuspendRefresh() | |
UpdateViewport | void UpdateViewport() | |
ZoomActualSize | void ZoomActualSize() | |
ZoomToFit | void ZoomToFit() |