Click or drag to resize

PolyLineMetafileCommandSplitAndConvert Method

Splits the polyline into three polylines and converts the part from startIdx to endIdx into another type.
Example:

                .  *   * 
            .               *
        .                      *           .
   .                              .   .

  -1    0   1   2  3   4    5  6  7   8    9
The points with indices from startIdx 3 to endIdx 6 should be in a new polyline after splitting.

Namespace: RAYLASE.Marker.VectorGraphicElement.MetafileCommand
Assembly: RAYLASE.Marker.VectorGraphicElement (in RAYLASE.Marker.VectorGraphicElement.dll) Version: 2.20.0
Syntax
C#
public List<BaseMetafileCommand> SplitAndConvert(
	int startIdx,
	int endIdx,
	Type type
)

Parameters

startIdx  Int32
The index of the point in Points[] where the polyline will be splitted.
endIdx  Int32
The index of the point in Points[] where the polyline will be splitted.
type  Type

[Missing <param name="type"/> documentation for "M:RAYLASE.Marker.VectorGraphicElement.MetafileCommand.PolyLineMetafileCommand.SplitAndConvert(System.Int32,System.Int32,System.Type)"]

Return Value

ListBaseMetafileCommand
A list with the three new polylines.
See Also