BandSpeedCalculatorGetMaxBandSpeed(VectorGraphicPath, NullableInt32, NullableInt32) Method |
Computes the maximum band speed at which the commands of path between startIndex and
endIndex (both inclusive) can be marked.
Namespace: RAYLASE.Marker.BatteryPluginAssembly: RAYLASE.Marker.BatteryPlugin (in RAYLASE.Marker.BatteryPlugin.dll) Version: 2.54.0
Syntaxpublic double? GetMaxBandSpeed(
VectorGraphicPath path,
int? startIndex = null,
int? endIndex = null
)
Parameters
- path VectorGraphicPath
- The path to analyze.
- startIndex NullableInt32 (Optional)
- The index, into Commands, of the first command to consider. Defaults to the first command.
- endIndex NullableInt32 (Optional)
- The index, into Commands, of the last command to consider. Defaults to the last command.
Return Value
NullableDoubleThe maximum band speed, in the same units as
MarkSpeed, or
if the requested range has
no non-zero extent along the band direction or no non-zero processing time.
Remarks
Any
SetPenMetafileCommand or
SetDataMetafileCommand before
startIndex is still replayed
(without contributing to the timing) so that the mark/jump speed and delays in effect at
startIndex are correct.
This method never adds a trailing jump time, since a jump between two paths is outside the scope of a single path.
See Also