Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
		/// <override></override>
		public override Shape Clone()
		{
			Shape result = new ImageBasedShape(Type, (Template) null, resourceName, resourceAssembly);
			result.CopyFrom(this);
			return result;
		}