Align the Image Using ITextSharp

iTextSharp is allowed to you to use images in PDF document and it’ll support many image formats like .jpg, .jpeg, .png, .bmp, .tif and .wmf.
  1. iTextSharp.text.Image gif = iTextSharp.text.Image.GetInstance(imagepath +"/image.jpg");  
It also provides way for align images in PDF document. There are some properties used to do that. 
  1. gif.ScaleToFit(250f, 250f);  
  2. gif.Alignment = iTextSharp.text.Image.TEXTWRAP | iTextSharp.text.Image.ALIGN_RIGHT;  
  3. gif.IndentationLeft = 9f;  
  4. gif.SpacingAfter = 9f;  
  5. gif.BorderWidthTop = 36f;