Hello ,
I have one problem regarding extraction of Aspose.Pdf.
I have extractred a pdf file into pages by using PdfFileEditor.SplitToPages(pdf as memoryStream)
this will extract into no. of pages contains into that Pdf.
But can you tell me how do i Iterate through each of the extracted pdf document Pages.
I want MemoryStream of each pdf document.
How do I do that plz give me solution regarding this,here is my code for that
'Iterate through all memory stream one by one
Dim pdfEditor As PdfFileEditor = New PdfFileEditor()
Dim outBuffer() As MemoryStream = pdfEditor.SplitToPages(pdf)
'Declare a temporary memory stream
Dim aStream As MemoryStream
For Each aStream In outBuffer
If iSlideCount = iInnerIndex Then
objSlideInfo.SlideData = aStream.GetBuffer() 'This always return whole pdf document buffer
iInnerIndex = iInnerIndex + 1
End If
Next
Thanks In Advance
Kishan