Click or drag to resize

SetPreviewParametersEvent Class

The event commands RAYGUIDE to set the preview parameters.

Parameter: A triple containing:

- bool bool isAll: If true all objects in the job will be marked, if false only the selected ones.

- int previewMode: The following modes are defined: - 0 (JobElement): A job element is completely previewed. - 1 (Outlined): No fillings are previewed, only the outline; bitmaps as rectangles. - 2 (BoundingRectangle): Only he bounding rectangle of a job element is previewed. - 3 (ConvexHull): The convex hull of a job element is previewed; e. g. a star with six tips will be previewed as hexagon. - 4 (Thumb): The preview point tracks a selected thumb while it is moved manually.

- double previewSpeed: The preview speed in m/s.

RAYGUIDE sends PreviewToggledEvent as response.

Inheritance Hierarchy
SystemObject
  EventBase
    PubSubEventValueTupleBoolean, Int32, Double
      RAYLASE.Marker.GUI.EventsSetPreviewParametersEvent

Namespace: RAYLASE.Marker.GUI.Events
Assembly: RAYLASE.Marker.GUI.Events (in RAYLASE.Marker.GUI.Events.dll) Version: 2.19.0
Syntax
C#
public class SetPreviewParametersEvent : PubSubEvent<(bool , int , double )>

The SetPreviewParametersEvent type exposes the following members.

Constructors
 NameDescription
Public methodSetPreviewParametersEventInitializes a new instance of the SetPreviewParametersEvent class
Top
Properties
 NameDescription
Protected propertySubscriptions Gets the list of current subscriptions.
(Inherited from EventBase)
Public propertySynchronizationContext Allows the SynchronizationContext to be set by the EventAggregator for UI Thread Dispatching
(Inherited from EventBase)
Top
Methods
 NameDescription
Public methodContains(ActionUTP) Returns if there is a subscriber matching ActionT.
(Inherited from PubSubEventValueTupleBoolean, Int32, Double)
Public methodContains(SubscriptionToken) Returns if there is a subscriber matching SubscriptionToken.
(Inherited from EventBase)
Protected methodInternalPublish Calls all the execution strategies exposed by the list of IEventSubscription.
(Inherited from EventBase)
Protected methodInternalSubscribe Adds the specified IEventSubscription to the subscribers' collection.
(Inherited from EventBase)
Public methodPrune Forces the PubSubEvent to remove any subscriptions that no longer have an execution strategy.
(Inherited from EventBase)
Public methodPublish Publishes the PubSubEvent.
(Inherited from PubSubEventValueTupleBoolean, Int32, Double)
Public methodSubscribe(ActionUTP) Subscribes a delegate to an event that will be published on the PublisherThread. PubSubEvent will maintain a WeakReference to the target of the supplied action delegate.
(Inherited from PubSubEventValueTupleBoolean, Int32, Double)
Public methodSubscribe(ActionUTP, ThreadOption) Subscribes a delegate to an event. PubSubEvent will maintain a WeakReference to the Target of the supplied action delegate.
(Inherited from PubSubEventValueTupleBoolean, Int32, Double)
Public methodSubscribe(ActionUTP, Boolean) Subscribes a delegate to an event that will be published on the PublisherThread.
(Inherited from PubSubEventValueTupleBoolean, Int32, Double)
Public methodSubscribe(ActionUTP, PredicateUTP) Subscribes a delegate to an event that will be published on the PublisherThread
(Inherited from PubSubEventValueTupleBoolean, Int32, Double)
Public methodSubscribe(ActionUTP, ThreadOption, Boolean) Subscribes a delegate to an event.
(Inherited from PubSubEventValueTupleBoolean, Int32, Double)
Public methodSubscribe(ActionUTP, ThreadOption, Boolean, PredicateUTP) Subscribes a delegate to an event.
(Inherited from PubSubEventValueTupleBoolean, Int32, Double)
Public methodUnsubscribe(ActionUTP) Removes the first subscriber matching ActionT from the subscribers' list.
(Inherited from PubSubEventValueTupleBoolean, Int32, Double)
Public methodUnsubscribe(SubscriptionToken) Removes the subscriber matching the SubscriptionToken.
(Inherited from EventBase)
Top
See Also