Want to know how to use SDK to achieve basic operation of converting PDF to HTML or PDF to image? Please follow me in this article.
VeryDOC PDF Parser & Modify SDK is a great component for programmers to fulfill conversion from PDF files to HTML/various images and integrate related functions into utility programmers need to design. This component could be used in multiple programming languages, e.g., VB, ASP.NET, VB.NET, C#, Delphi, C/C++. And all the functions were encapsulated into DLL Library, which only could be obtained if you purchase developer license. For more info about this component, just directly visit homepage of VeryDOC PDF Parser & Modify SDK.
After you get free VeryDOC PDF Parser & Modify SDK, welcome to read the paragraphs below to know more details about converting PDF file to image/HTML from following examples:
VB example:
Private Sub Command1_Click()
Dim nRet As Long
Dim strOptions As String
Dim strInPDFFile As String
Dim strOutFile As String
strInPDFFile = App.Path & "\example1.pdf"
strOutFile = App.Path & "\out.png"
strOptions = "-$ XXXXXXXXXXXXXXXXXXXX"
nRet = VeryPDF_PDFParserSDK(strInPDFFile, strOutFile, strOptions)
MsgBox (Str(nRet))
End Sub
C# example:
private void DiskFile_Click(object sender, EventArgs e)
{
string appPath = Path.GetDirectoryName(Application.ExecutablePath);
int nRet;
string strOptions;
string strInPDFFile;
string strOutFile;
string strLogMsg;
strInPDFFile = (appPath + "\\example1.pdf");
strOutFile = (appPath + "\\out.htm");
strOptions = "-$ XXXXXXXXXXXXXXXXXXXX";
nRet = VeryPDF_PDFParserSDK(strInPDFFile, strOutFile, strOptions);
strLogMsg = (strInPDFFile + ("\r\n"
+ (strOutFile + ("\r\n"
+ (strOptions + ("\r\n" + ("nRet = " + (nRet.ToString()))))))));
MessageBox.Show(strLogMsg);
}
Besides converting PDF file to image/HTML, VeryDOC PDF Parser & Modify SDK supports extracting image data or text data from input PDF files, such as, getting and analyzing text data from source PDF file, as well as supporting color depth setting, resolution setting, page range setting for image files and processing password protected PDF files, etc.. For more info, you can download or purchase VeryDOC PDF Parser & Modify SDK right now to check contained files there in each folder.
At last, thank you for reading this article, if you encounter any questions during using VeryDOC PDF Parser & Modify SDK, please leave comments here, or just email to support@verydoc.com to make us know immediately.