public static EditingTemplate CreatePresetTemplate( Layer layer, string templateName, SelectionSet features, MapPoint hotPoint )
Public Shared Function CreatePresetTemplate( _ ByVal layer As Layer, _ ByVal templateName As String, _ ByVal features As SelectionSet, _ 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.