PdfImgExtractExtractImages(Stream, Boolean) Method |
Extracts the images from the specified PDF stream. An ImageExtractedEvent is raised immediately
after the image was extracted. When the extractToFolder parameter is true, the extracted images will
be saved in the ExtractPath folder in the format specified by ExtractImageFormat property.
When the extractToFolder parameter is false the images will not be saved on the disk.
Namespace: ExpertPdf.AnywhereAssembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntaxpublic void ExtractImages(
Stream pdfStream,
bool extractToFolder
)
Public Sub ExtractImages (
pdfStream As Stream,
extractToFolder As Boolean
)
Parameters
- pdfStream Stream
- The PDF stream from where the images will be extracted. It can be for example a MemoryStream or a
FileStream.
- extractToFolder Boolean
- When this parameter is true the extracted images will be saved on disk in the ExtractPath folder.
See Also