Hello,
Im new to using the Syncfusion products and am having an issue with PdfGridImagePosition not working. I have tried all the options but the one I want tot use is the 'Fit' option to allow me to keep the aspect ratio of the image. I have tried both landscape and portrait images with no success. Below is the code Im using to insert the image and try to keep its aspect ratio:
PdfGridRow documentInformationGridSignatureRow = documentInformationGrid.Rows.Add();
documentInformationGridSignatureRow.Cells[0].Value = "Signature";
documentInformationGridSignatureRow.Cells[1].Value = " ";
documentInformationGridSignatureRow.Cells[1].Style.BackgroundImage = CreatePDFImage(signature);
documentInformationGridSignatureRow.Height = 60;
documentInformationGridSignatureRow.Cells[1].ImagePosition= PdfGridImagePosition.Fit;
Hopefully somebody can help because I have run out of options and have no idea what to do. I need it to be the simplest and shortest option if there is a fix.
Many Thanks
Jamie