Spire.PDF 3.8.45 adds a new method to set the image of button field

We are pleased to announce a new hotfix version-Spire.PDF 3.8.45 today. By the efforts of our develop team, our Spire.PDF offers a new method to set the image of button field. We also fixed the bugs for this version especially for the print function. Viewing the following full description of its enhanced features:
New Features:
- Add new method to set the image of button field.
if (form.FieldsWidget[i] is PdfButtonWidgetFieldWidget)
{
PdfButtonWidgetFieldWidget field = form.FieldsWidget[i] as PdfButtonWidgetFieldWidget;
if (field.Name == "Field Name")
{
field.SetButtonImage(PdfImage.FromFile(imagePath));
}
}
Bug solutions:
- Fixes the issue where image in the PDF document was covered by a black hatch when print.
- Fixes the issue that caused open type fonts to display incorrectly when print.
- Fixes the issue that caused the content lost when print.
- Resolves the issue that caused the exception that ContextColor /Resources/f856973e-951b-491c-ad5f-9fcff4b05a16.icc 1 is not a valid value for Int32 when load.
- Fixes the issue that caused the error that badly formed dictionary next should be a name before 9406 when load.
- Fixes the issue that caused the value of combox field got added repeatedly when debug.
- Fixes the issue that caused InsertPageRange method got stuck.
- Fixes the issue that caused accented characters lost when convert to XPS.
Get the most recent version of Spire.PDF 3.8.45 here:
http://www.e-iceblue.com/Download/download-pdf-for-net-now.html