AddImageToDocument

Document.AddImageToDocument method

Change image quality and add image to document

public void AddImageToDocument(string dataDir, string jpgFileName, int pageNumber, int imageQuality)
Parameter Type Description
dataDir String Specify the path to the input PDF file
jpgFileName String The path to the JPG file
pageNumber Int32 Page where the image will be inserted
imageQuality Int32 Set image quality from 1 to 100, “1” - is the smallest resolution “100” - is the largest

See Also