Sample source code below will display you how to manage a complex task like extract video from PDF with PDF extractor SDK in C#. Want to extract video from PDF with PDF extractor SDK in your C# app? ByteScout Premium Suite is designed for it. ByteScout Premium Suite is the set that includes 12 SDK products from ByteScout including tools and components for PDF, barcodes, spreadsheets, screen video recording.
The SDK samples given below describe how to quickly make your application do extract video from PDF with PDF extractor SDK in C# with the help of ByteScout Premium Suite. Just copy and paste the code into your C# application’s code and follow the instructions. Enjoy writing a code with ready-to-use sample codes in C#.
All these programming tutorials along with source code samples and ByteScout free trial version are available for download from our website.
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 Premium Suite Home Page
Explore ByteScout Premium Suite Documentation
Explore Samples
Sign Up for ByteScout Premium Suite Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
60 Day Free Trial or Visit ByteScout Premium Suite Home Page
Explore ByteScout Premium Suite Documentation
Explore Samples
Sign Up for ByteScout Premium Suite Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
also available as: