#include<DocumentFiltersObjects.h>intmain(){try{// Create and initialize the API objectHyland::DocFilters::Apiapi;api.Initialize("License Code",".");// Open the input fileHyland::DocFilters::Extractordoc=api.OpenExtractor("filename.doc",Hyland::DocFilters::OpenMode::Paginated);// Create the output canvas Hyland::DocFilters::Canvascanvas=api.MakeOutputCanvas("output.pdf",Hyland::DocFilters::CanvasType::PDF);// Render all pages to the outputcanvas.RenderPages(doc);}catch(conststd::exception&e){std::cerr<<"Error: "<<e.what()<<std::endl;return1;// Indicate an error}return0;// Successful execution}