private IEnumerable<ControlPointId> GetImageAnchorPoints(ImageBasedShape imageShape) { if (imageShape == null) throw new ArgumentNullException("imageShape"); // (Re)store the corner and bottom resize point and the shape position yield return ControlPointId.Reference; yield return 8; // Correct the final position yield return ControlPointId.Reference; }
/// <override></override> public override Shape Clone() { Shape result = new ImageBasedShape(Type, (Template) null, resourceName, resourceAssembly); result.CopyFrom(this); return result; }