This sample shows how to create buttons with images in PDF documents using Docotic.Pdf library.
You can add an image to a button using the PdfButton.Image property. Use the PdfButton.Layout property to specify how text and image on the button surfaces should be placed relative to each other. You can also define how the image on the button should be scaled by using the PdfButton.ImageScaleMode property.