SpirePDF / FreeSpire.PDF

Free Spire.PDF
27 stars 7 forks source link

Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index') #10

Open hgmsq opened 4 months ago

hgmsq commented 4 months ago

pdf报错 Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')

at System.ThrowHelper.ThrowArgumentOutOfRange_IndexException() at sprᝅ.ᜀ(sprᝇ A_0) at sprᝅ.ᜁ(sprᝇ A_0) at sprᝅ.ᜀ(String A_0, sprᝇ A_1) at sprᝅ.ᜏ() at sprᝅ.ᜓ() at sprᝅ.᜙() at sprᝅ.᜚() at spr⥫.ᜆ(sprᝫ A_0) at spr⥫.ᜀ(sprច A_0) at spr⥫.᜽() at spr⥫.ᜍ(Boolean A_0) at sprᦤ.ᜀ(Graphics A_0, spr⥢ A_1, spr⧎ A_2, sprᥱ A_3, Image A_4) at sprᦤ.ᜁ(Int32 A_0, Int32 A_1, Int32 A_2) at Spire.Pdf.PdfDocumentBase.ᜀ(Int32 A_0, Int32 A_1, Int32 A_2) at Spire.Pdf.PdfDocumentBase.ᜀ(Int32 A_0, PdfImageType A_1, Int32 A_2, Int32 A_3) at Spire.Pdf.PdfDocument.SaveAsImage(Int32 pageIndex, PdfImageType type, Int32 dpiX, Int32 dpiY) at PdfToImage.PdfToImageConverter.PDFConvertToPNG(String pdfPath, String jpgFilePath) in

hgmsq commented 4 months ago

image