VectorGraphicPathLaserOn Method |
Activates the laser for the defined amount of pulses or time.
Namespace: RAYLASE.Marker.VectorGraphicElementAssembly: RAYLASE.Marker.VectorGraphicElement (in RAYLASE.Marker.VectorGraphicElement.dll) Version: 2.19.0
Syntaxpublic 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
BaseMetafileCommandThe generated metafile command to activate the laser.
See Also