Unplanned
Last Updated: 07 Oct 2026 09:04 by n/a
n/a
Created on: 07 Oct 2026 09:04
Category: PdfProcessing
Type: Feature Request
0
PdfProcessing: Handle Import of documents with invalid boolean PrintScaling value

Handle the import of documents that have an invalid boolean value for the PrintScaling property of ViewerPreferences. The expected value of the /PrintScaling entry is a PDF name object:

/PrintScaling /None
/PrintScaling /AppDefault

When importing such documents, the following exception is thrown: 

InvalidCastException: 'Unable to cast object of type 'Telerik.Documents.Fixed.FormatProviders.Pdf.Model.Types.PdfBool' to type 'Telerik.Documents.Fixed.FormatProviders.Pdf.Model.Types.PdfName'.'

 

 

0 comments