These source code samples are listed and grouped by their programming language and functions they use. ByteScout PDF Extractor SDK is the SDK is designed to help developers with pdf tables and pdf data extraction from unstructured documents like pdf, tiff, scans, images, scanned and electronic forms. The library is powered by OCR, computer vision and AI to provide unique functionality like table detection, automatic table structure extraction, data restoration, data restructuring and reconstruction. Supports PDF, TIFF, PNG, JPG images as input and can output CSV, XML, JSON formatted data. Includes full set of utilities like pdf splitter, pdf merger, searchable pdf maker and other utilities and you can use it to extract video from PDF with C#.
Fast application programming interfaces of ByteScout PDF Extractor SDK for C# plus the instruction and the code below will help you quickly learn how to extract video from PDF. This C# sample code is all you need for your app. Just copy and paste the code, add references (if needs to) and you are all set! Detailed tutorials and documentation are available along with installed ByteScout PDF Extractor SDK if you’d like to dive deeper into the topic and the details of the API.
ByteScout free trial version is available for download from our website. It includes all these programming tutorials along with source code samples.
On-demand (REST Web API) version:
Web API (on-demand version)
On-premise offline SDK for Windows:
60 Day Free Trial (on-premise)
using Bytescout.PDFExtractor; namespace ExtractVideo { class Program { static void Main(string[] args) { // Create Bytescout.PDFExtractor.MultimediaExtractor instance MultimediaExtractor extractor = new MultimediaExtractor(); extractor.RegistrationName = "demo"; extractor.RegistrationKey = "demo"; // Load PDF document // (!) We do not provide the sample document, please load your own. extractor.LoadDocumentFromFile(@"sample-video.pdf"); int i = 0; // Initialize movies enumeration if (extractor.GetFirstVideo()) { do { string outputFileName = "movie" + i + extractor.GetCurrentVideoExtension(); // Save movie to file extractor.SaveCurrentVideoToFile(outputFileName); i++; } while (extractor.GetNextVideo()); // Advance movies enumeration } // Cleanup extractor.Dispose(); } } }
60 Day Free Trial or Visit ByteScout PDF Extractor SDK Home Page
Explore ByteScout PDF Extractor SDK Documentation
Explore Samples
Sign Up for ByteScout PDF Extractor SDK Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
60 Day Free Trial or Visit ByteScout PDF Extractor SDK Home Page
Explore ByteScout PDF Extractor SDK Documentation
Explore Samples
Sign Up for ByteScout PDF Extractor SDK Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
also available as: