using (PdfDocument doc = Document.Load<PdfDocument>(Utilities.MapSourceFilePath(FilePath)))
{
// Add the attachment
doc.Attachments.Add(File.ReadAllBytes(Utilities.MapSourceFilePath(AttachmentPath)), "sample", "sample doc as attachment");
// Save changes
doc.Save();
}