/// <summary> /// Executes this operation. This version is suitable for adding miscellaneous /// non-topological trim. /// </summary> /// <param name="trim">The text of the label.</param> /// <param name="ent">The entity type to assign to the new label (default was null)</param> /// <param name="position">The reference position for the label.</param> /// <param name="ght">The height of the new label, in meters on the ground.</param> /// <param name="gwd">The width of the new label, in meters on the ground.</param> /// <param name="rot">The clockwise rotation of the text, in radians from the horizontal.</param> internal void Execute(string trim, IEntity ent, IPosition position, double ght, double gwd, double rot) { // Add the label. TextFeature text = MapModel.AddMiscText(this, trim, ent, position, ght, gwd, rot); SetText(text); // The trim is always non-topological. text.SetTopology(false); Complete(); }