PDF Generation Template Editor
Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.
Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.
Accurately obtaining the license key is crucial for applying the license.
<type> field. If <type>online</type> is present, it indicates an online license. If <type>offline</type> is present or if the field is absent, it indicates an offline license.LICENSE_KEY position within the <key>LICENSE_KEY</key> field. This is your license key.In a C++ application, call LibraryManager::LicenseVerify and check its result before initializing the SDK resources.
#include "compdf_conversion.h"
using namespace compdf;
using namespace compdf::base;
using namespace compdf::common;
using namespace compdf::conversion;
const char* license = "LICENSE_KEY";
ErrorCode code = LibraryManager::LicenseVerify(license, "DEVICE_ID", "APP_ID");
if (code == ErrorCode::Success) {
LibraryManager::Initialize("ComPDF_Conversion_SDK/resource");
}Use the device ID and application ID associated with your license. See C++ requirements and initializing library resources.