Click or drag to resize

VectorGraphicPathLaserOn Method

Activates the laser for the defined amount of pulses or time.

Namespace: RAYLASE.Marker.VectorGraphicElement
Assembly: RAYLASE.Marker.VectorGraphicElement (in RAYLASE.Marker.VectorGraphicElement.dll) Version: 2.19.0
Syntax
C#
public virtual BaseMetafileCommand LaserOn(
	int pulses,
	double time = 0,
	LaserOnMode mode = LaserOnMode.Pulse
)

Parameters

pulses  Int32
Number of pulses. If set to -1 the laser is switched on for ever (until it is switched off with the LaserOff command).
time  Double  (Optional)
Time the laser gets activated for.
mode  LaserOnMode  (Optional)
Defines whether the pulses or the time is used.

Return Value

BaseMetafileCommand
The generated metafile command to activate the laser.
See Also