ms
This commit is contained in:
parent
631929ec46
commit
66bab9b7c1
@ -77,7 +77,7 @@ Public Class PDFAttachments
|
|||||||
End Try
|
End Try
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
Private Function DoExtract(GDPicturePDF As GdPicturePDF, Extensions As List(Of String)) As List(Of AttachmentResult)
|
Private Function DoExtract(GDPicturePDF As GdPicturePDF, pExtensions As List(Of String)) As List(Of AttachmentResult)
|
||||||
Dim oResults As New List(Of AttachmentResult)
|
Dim oResults As New List(Of AttachmentResult)
|
||||||
Dim oEmbeddedFileCount As Integer = GDPicturePDF.GetEmbeddedFileCount()
|
Dim oEmbeddedFileCount As Integer = GDPicturePDF.GetEmbeddedFileCount()
|
||||||
|
|
||||||
@ -92,7 +92,7 @@ Public Class PDFAttachments
|
|||||||
Logger.Debug("Extracting embedded file [{0}]", oFileName)
|
Logger.Debug("Extracting embedded file [{0}]", oFileName)
|
||||||
|
|
||||||
Dim oExtension = New FileInfo(oFileName).Extension.ToUpper.Substring(1)
|
Dim oExtension = New FileInfo(oFileName).Extension.ToUpper.Substring(1)
|
||||||
If Extensions.Contains(oExtension) Then
|
If pExtensions.Contains(oExtension) Then
|
||||||
Dim oFileSize As Integer = GDPicturePDF.GetEmbeddedFileSize(oIndex)
|
Dim oFileSize As Integer = GDPicturePDF.GetEmbeddedFileSize(oIndex)
|
||||||
|
|
||||||
If GDPicturePDF.GetStat() = GdPictureStatus.OK Then
|
If GDPicturePDF.GetStat() = GdPictureStatus.OK Then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user