/// <summary>
 /// Draws an image (convenience method).
 /// Assumes default naming of object references is used.
 /// </summary>
 public void DrawImageByRef2(double x1, double y1, double x2, double y2, PdfObjectRef imageRef)
 {
     this.DrawImageByName2(x1, y1, x2, y2, imageRef.ToDefaultName());
 }
 /// <summary>
 /// Draws an image (convenience method).
 /// Assumes default naming of object references is used.
 /// </summary>
 public void DrawImageByRef(double x, double y, double width, double height, PdfObjectRef imageRef)
 {
     this.DrawImageByName(x, y, width, height, imageRef.ToDefaultName());
 }