The standard EAN13 , as its name suggests, consists of 13 digits. It is not possible to enter more, so the iTextSharp intelligently truncates the data you pass so that it complies with the standard.
If you need 18 characters, you can try some other type of bar code, such as Code-128