Table of Contents

Class ActionMagnifier

Namespace
VectorDraw.Professional.ActionUtility
Assembly
VectorDraw.Professional.dll

Provides a magnifier (loupe) interactive action that displays a circular, magnified view of a region under the mouse pointer and lets the user pick a point.

public class ActionMagnifier : ActionGetPoint, IDisposable, IBaseObject, IBaseAction
Inheritance
BaseAction
ActionGetPoint
ActionMagnifier
Implements
IBaseAction
Inherited Members
ActionGetPoint.UserWaiting
ActionGetPoint.WaitingPoint
ActionGetPoint.Value
BaseAction.m_Visible
BaseAction.mFixPointLocation
BaseAction.mIsParsed
BaseAction.mUserValue
BaseAction.mDefaultValue
BaseAction.OsnapCrossMarksCount
BaseAction.OsnapTrakingMarksMarksCount
BaseAction.OsnapExtensionMarksCount
BaseAction.OsnapMarksClearKey
BaseAction.ExtensionLockKey
BaseAction.Dispose()
BaseAction.GetAcceptedStringValues()
BaseAction.RaiseOnShow()
BaseAction.RaiseOnHide()
BaseAction.RaiseOnDrawOsnaps(OsnapMode, vdRender)
BaseAction.RaiseOnWorldToUserMatrix()
BaseAction.OnFinishAction()
BaseAction.RaiseOnFinishAction(BaseAction)
BaseAction.RaiseOnCancelAction(BaseAction)
BaseAction.OnPositionChanged(gPoint)
BaseAction.SetsupportObjectSnapObject(ISupportObjectSnaps)
BaseAction.ClearTemporaryOsnaps()
BaseAction.GetValueString(LUnits, AUnits)
BaseAction.GetRender()
BaseAction.Start()
BaseAction.End()
BaseAction.Activated()
BaseAction.DeActivated()
BaseAction.AllowDeactivateFromAction(BaseAction)
BaseAction.Show()
BaseAction.Hide()
BaseAction.PureDraw()
BaseAction.ScreenPaint(ActionWrapperRender)
BaseAction.GotFocus()
BaseAction.LostFocus()
BaseAction.WndProc(MessageManager.MSG)
BaseAction.MouseEnter()
BaseAction.MouseLeave()
BaseAction.RestoreCursor()
BaseAction.WaitToFinish()
BaseAction.FinishAction(BaseAction)
BaseAction.CancelAction(BaseAction)
BaseAction.DrawAxis()
BaseAction.DrawPick()
BaseAction.DrawCross(gPoint)
BaseAction.Owner
BaseAction.AcceptedPoints
BaseAction.MouseLogic
BaseAction.IsTouchScreen
BaseAction.IsPolarTrackOn
BaseAction.IsOrthoPointFixed
BaseAction.MouseArgs
BaseAction.SelectedEntity
BaseAction.SelectedEntities
BaseAction.TemporaryOsnaps
BaseAction.CurrentOsnap
BaseAction.OsnapCrossPointsAddvalue
BaseAction.FreezeEvents
BaseAction.ShowOnPaint
BaseAction.SendKeyEvents
BaseAction.KeepFocus
BaseAction.CancelOnFocus
BaseAction.FixPointLocation
BaseAction.ParalleAngle
BaseAction.ApparentEntity
BaseAction.IsParsed
BaseAction.ValueTypeProp
BaseAction.IsStartUpAction
BaseAction.IsStarted
BaseAction.IsVisible
BaseAction.HasOsnapPoint
BaseAction.IsGripLocation
BaseAction.HasPointZValue
BaseAction.OsnapOverrideMode
BaseAction.SupportOsnaps
BaseAction.osnapPoints
BaseAction.GdiMousePos
BaseAction.PressedKeyCode
BaseAction.Cancelled
BaseAction.ValuePointCS
BaseAction.OrthoPoint
BaseAction.ReferencePoint
BaseAction.ExtensionReferencePoint
BaseAction.GdiReferencePoint
BaseAction.MouseLocation
BaseAction.GdiMouseLocation
BaseAction.Render
BaseAction.OsnapOrthoMouseLocation
BaseAction.UsesDraw
BaseAction.ContainsScreenPaints
BaseAction.ExtensionMarks
BaseAction.IsFocused
BaseAction.DoEventsWithWin32API
BaseAction.IsInWaitingLoop
BaseAction.IsPerspectiveOn
BaseAction.OnMouseLeave
BaseAction.OnMouseEnter
BaseAction.OnMouseMove
BaseAction.OnMouseDown
BaseAction.OnMouseUp
BaseAction.OnMouseDoubleClick
BaseAction.OnTimerIdle
BaseAction.OnWorldToUserMatrix
BaseAction.OnCancel
BaseAction.OnFinish
BaseAction.OnDraw
BaseAction.OnDrawAfter
BaseAction.OnDrawOsnaps
BaseAction.OnGetFixPosition
BaseAction.OnShow
BaseAction.OnHide
BaseAction.OnJobLoop
BaseAction.OnJobLoopEx

Remarks

This action temporarily locks some interaction features (osnaps, ortho, polar tracking, grid) and performs rendering into a circular region on the control to show a magnified portion of the active layout. Use the static getUserMagnifierPoint(vdDocument, int, int, int, MagnifierDisplayProperties) method to start the action. The action returns a point in World Coordinate System when the user finishes the interaction. The magnifier is not supported when the active layout has an active viewport.

Properties

ExtraCancelKeyCode

Get/Set the extra Key (Besides Esc) to Cancel the command.

MagnifierSize

Get/Set the Magnifier Glass diameter size in pixels.

MagnifierZoom

Get/Set the Magnifier Zoom level.Set it to 1 or a negative value to hide the Magnifier.

Methods

Draw()

Overrides the VectorDraw.Actions.BaseAction.Draw()

KeyDown(KeyEventArgs)

Handles Key events when Action is active.

OnIdle()

Commited when the mouse is idle.

getUserMagnifierPoint(vdDocument, int, int, int)

Starts a magnifier glass action.

getUserMagnifierPoint(vdDocument, int, int, int, MagnifierDisplayProperties)

Starts a magnifier glass action.

See Also