public static EditingTemplate CreatePresetTemplate( Layer layer, string templateName, Dictionary<Layer,List<long>> features, MapPoint hotPoint )
Public Shared Function CreatePresetTemplate( _ ByVal layer As Layer, _ ByVal templateName As String, _ ByVal features As Dictionary(Of Layer,List(Of Long)), _ Optional ByVal hotPoint As MapPoint _ ) As EditingTemplate
Parameters
- layer
- the layer the new template is to be added to.
- templateName
- the template name.
- features
- The features to include in the preset
- hotPoint
- An optional point to use as the point where the preset is placed. If null is provided the centroid of the features will be used.
Return Value
A task yielding the newly created template. Null if it cannot be created.