PDF to XML Converter SDK

How to convert PDF to XML in C#

VeryDOC PDF to XML Converter SDK is the best choice to convert PDF to XML in C#, as well as conversion from PDF to text and PDF to image.

Features of VeryPDF PDF to XML Converter SDK

  • DLL and COM Interface can be called in any program languages
  • Support 2000/XP/Vista/7, both 32bit and 64bit, Windows platforms
  • Support integrating SDK functions into your own applications
  • Support converting PDF files to XML files, PDF files to image files and PDF files to text files
  • Support owner password and user password protected PDF files’ processes
  • Support image resolution/color depth setting in DPI
  • Always multithread safe
  • Able to be used for further data analysis

If features of this SDK tool raise your interest to try it, please feel free to download trial version of VeryDOC PDF to XML Converter here. And for more information about how to convert PDF file to XML/text/image in C#, just read the following example:

private void button1_Click(object sender, EventArgs e)

        {

            string appPath = Path.GetDirectoryName(Application.ExecutablePath);

            string strInPDFFile;

            string strOutFile;

            long nRet;

            strInPDFFile = (appPath + "\\example.pdf");

            strOutFile = (appPath + "\\example.xml");

            VeryPDF2XMLSetLicenseCode("XXXXXXXXXXXXXXXXXXX");

            string szOptions = "-res 150 -bitcount 24 -outimg \"";

            szOptions += appPath + "\\outimage-%04d.jpg";

            szOptions += "\"";

            nRet = VeryPDF2XMLConverter(strInPDFFile, strOutFile, szOptions);

            nRet = VeryPDF2XMLConverter(strInPDFFile, appPath + "\\outtxt.txt", "-txt");

            nRet = VeryPDF2XMLConverter(strInPDFFile, strOutFile, "");

        }

And based on the example above, some tips are as follows:

  • The following is to create image file with resolution 150, bit count 24            string szOptions = "-res 150 -bitcount 24 -outimg \"";
    szOptions += appPath + "\\outimage-%04d.jpg";
    szOptions += "\"";
    nRet = VeryPDF2XMLConverter(strInPDFFile, strOutFile, szOptions);
  • The following is to produce text file

nRet = VeryPDF2XMLConverter(strInPDFFile, appPath + "\\outtxt.txt", "-txt");

  • The following is to generate XML file

nRet = VeryPDF2XMLConverter(strInPDFFile, strOutFile, "");

By here, this article nearly come to the end. If you encounter questions during converting PDF file to text/image/XML with developer license of VeryDOC PDF to XML Converter SDK, as well as integrating functions into other applications, just let us know as soon as possible. And in the end, I hope you can enjoy this SDK tool. 🙂

PDF to XML Converter SDK

How to convert PDF to XML/text/image in Visual Basic

VeryDOC PDF to XML Converter SDK supports converting PDF to XML, PDF to text and PDF to image in one process in Visual Basic, and this article can reveal more details about this kind of process.

In the beginning, you may wonder what SDK is, if you are a beginner, and in this paragraph, please allow me to illustrate what SDK is. Generally, SDK, which represents software development kit, enables you to accomplish supported conversion, and also it allows programmers to integrate supported functions into your own applications flexibly. To know more of SDK, you can google it. 🙂

And to know more of VeryDOC PDF to XML Converter SDK, and how to convert PDF file to XML/text/image in Visual Basic, it is simple for you to refer to the following example in the snapshot:

Visual Basic example for converting PDF to XML, PDF to text and PDF to image with SDK

Where:

  • -res 150 is to edit image resolution as 150
  • -bitcount 24 is to set image bit count as 24
  • -outimg is to output image file
  • nRet = VeryPDF2XMLConverter(strPDFFile, strXMLFile, strOptions) is to convert PDF file to image file
  • nRet = VeryPDF2XMLConverter(strPDFFile, strTXTFile, "-txt") is to convert PDF file to text file
  • nRet = VeryPDF2XMLConverter(strPDFFile, strXMLFile, "") is to convert PDF file to XML file

And as you can see from the snapshot above, if you input right source PDF path, targeting XML/text/image directory, as well as parameters you need to use to specify output files in Visual Basic, it can be easily to produce XML file/image files/text files from PDF file with SDK.

Of course, this is one fragment of what this SDK supports, and more supported functions about this SDK could be found at file “readme.txt” in “bin” folder located in downloaded folder.

In the end, just as shown above, it is simple to use this SDK tool to convert PDF file to text file, PDF file to XML file and PDF file to image file, e.g., BMP, JPEG, GIF, PNG, MNG, JNG, ICO, TIF, etc.. However, to integrate all supported functions to your application, please get developer license of VeryDOC PDF to XML Converter SDK. 🙂

PDF to XML Converter SDK

How to convert PDF to XML in programming language Visual C++

VeryDOC PDF to XML Converter SDK is available in converting PDF to XML and integrating its functions into any programming languages, e.g., C#, VB.NET, ASP.NET, Delphi, C/C++, ASP, PHP, etc..

Generally, this SDK is a DLL Library, which helps you render PDF pages to XML data, text data and image files for further Data Analysis, thus, PDF page content could be used by programmers conveniently.

What is SDK?

SDK, which is short for software development kit, is a set of software development tools to enable the creation of applications for a certain software package, software framework, hardware platform, computer system, operating system, or similar platform. SDK, which could be as simple as an application programming interface (API) in the form of some files to interface to a particular programming language, also may include sophisticated hardware to communicate with a certain embedded system. Usually, SDKs frequently include sample code and supporting technical notes or other supporting documentation to help clarify points from the primary reference material. SDKs include debugging aids and other utilities often presented in an integrated development environment (IDE).

After short description about mentioned SDK tool and SDK itself, here is trial version of VeryDOC PDF to XML Converter SDKfor you to try. And the following example shows you more details about how to convert PDF file into XML data, text data and image data for further usage in Visual C++ programming language:

void main(int argc, char **argv)
{
if(argc != 2)
{
printf("%s C:\\in.pdf\n", argv[0]);
return;
}
char *lpInPDFFile = argv[1];
char *lpLicenseKey = "XXXXXXXXXXXXXXXXXXXXXXX";
VeryPDF2XMLSetLicenseCode(lpLicenseKey);

    char szOutInfoFile[MAX_PATH];
GetModulePath(szOutInfoFile, "outimage-info.txt");
BOOL bRet = FALSE;
char szImgFile[MAX_PATH];
GetModulePath(szImgFile, "outimage-%04d.png");
char szOptions[1024];
sprintf(szOptions, "-res 150 -bitcount 24 -outimg \"%s\"", szImgFile);
bRet = VeryPDF2XMLConverter(lpInPDFFile, szOutInfoFile, szOptions);

    char szTxtFile[MAX_PATH];
GetModulePath(szTxtFile, "out.txt");
bRet = VeryPDF2XMLConverter(lpInPDFFile, szTxtFile, "-txt");

    char szOutXMLFile[MAX_PATH];
GetModulePath(szOutXMLFile, "out.xml");
bRet = VeryPDF2XMLConverter(lpInPDFFile, szOutXMLFile, "");
printf("VeryPDF2XMLConverter, Return value: %d\n", bRet);
}

Besides basic functions this SDK tool supports, there are other functions it enables for you to apply in conversion from PDF files to XML files or integrate into your own applications. And for all functions are encapsulated in a DLL Library, to get all of functions, please purchase developer license of VeryDOC PDF to XML Converter SDK.

Flash to Video Converter

How to batch convert flash to original size video of MP4/FLV/AVI

It is easy for you to batch convert flash to video of MP4/FLV/AVI with original size through VeryDOC Flash to Video Converter on Windows platforms. More details can be found in the following paragraphs. 🙂

VeryDOC Flash to Video Converter is a GUI tool to help to singly or batch convert flash files to specific properties video of MP4, AVI, FLV, ASF, MPG, etc.. With this GUI tool and Adobe Flash Plug-in, Windows users can edit video size, and of course, original size – flash width and height, can be retained in targeting video file. :)So, for more info about batch converting flash files to original size video, please refer to the followings:

Step1. Download and install

Please download installer of VeryDOC Flash to Video Converter into your computer, and then, you can install trial version software in your computer with setup wizard step by step till the end. 🙂

Step2. Add source flash files

Once installation is complete, trial version software can be opened in the form of GUI interface on screen. And then, to add source flash files, you need to click Add SW File(s) on GUI interface > select right flash files in pop dialog box > click Open directly, and then, you can get selected flash files added with appeared paths in processing table as below:

Add flash files for batch converting flash to video with GUI interface

Step3. Select targeting format and retain original size in advance

Then, one click on Options on GUI interface enables you to set video format with original size:

Click one of video formats on pop list of Output Format, e.g., .flv, then, targeting format is FLV, also, there are other formats for you to select, such as AVI, ASF, MOV, MP4, MPG, etc. as you can see in the following snapshot; and then, to retain original size of flash file in video files, just click radio Original Size directly. 🙂

Set targeting video and original size during batch converting flash to video

Step4. Set targeting folder and batch convert flash files to original size video files directly

After one click on OK on Options panel to save setting there, program takes you back on GUI interface again. Then, it’s time to set targeting folder and start conversion:

Click Convert on GUI interface > select right folder as destination folder in pop dialog box > click OK there, and along with successful setting of video files, software starts to batch convert flash files to original size video files instantly and exactly. And after popping window for process disappears, you can find targeting video files in destination folder. 🙂

Set targeting folder during batch converting flash to video with GUI interface

Are there any questions based on how to batch convert flash files to original size video with GUI interface? If you encounter some, please do not hesitate to leave comments here to tell us. And for full version software, please purchase VeryDOC Flash to Video Converter directly. 🙂

Flash to Video Converter

How to convert flash to video and set video size

Want to use smart GUI tool to convert flash to video and set video size on Windows platforms? Then, welcome to use VeryDOC Flash to Video Converter to fulfill goals instantly. 🙂

The following snapshot reveals how great produced video file of AVI through this converter, so, if this snapshot generates an idea to experience this tool and use it to fulfill conversion, please read the following directly without any hesitation. 🙂

produced video file of AVI through VeryDOC Flash to Video Converter

There are only several steps, which just take a few minutes to reach it, you need to follow to accomplish conversion immediately:

Step1. Download and install

You need to download installer of VeryDOC Flash to Video Converter directly, and then, double-click this installer and follow setup wizard to install trial version software in your computer directly. 🙂

Step2. Add flash file

Once you successfully install software, please open GUI interface of software, and then, click Add SWF File(s) on GUI interface > select right flash file in pop dialog box > click Open directly, and finally, you can see selected flash path appearing in processing table directly, and this indicates successful adding of source flash file, and here is snapshot about GUI interface with added flash file:

Add source flash file for converting flash to video and set video size with GUI interface

Step3. Set targeting format and video size

After adding file, one click on Options leads to following operations automatically:

  • To edit targeting format, e.g., AVI, FLV, ASF, MOV, MP4, MPG, etc., please click one of video formats on pop list Output Format, for instance, .aviimplies you need to set destination file type as AVI, and other formats could be edit in the similiar way as this.
  • After setting targeting format, please click radio Customize Size, and then, type integers in edit-boxes Width and Height, e.g., 600, 450, between 1 and 1366, 1and 768 separately, then, customized video size can be 600x450 pixel, and other sizes can be set in the same way

For more details about opertion above, please refer to following snapshot:

Set video size during converting flash to video with GUI interface

Then, click ok on Options panel to save setting here and close this panel. 🙂

Step4. Set targeting folder and convert flash file to video file with specific size

After setting as illustrated in steps above, it’s time to click Convert on GUI interface, select destination folder in pop dialog box > click Ok so that software pops a window as shown in following snapshot, which could be monitored in process to convert flash file to video file little by little, and after this window disappear, a few seconds later, specific-size video file with video format set, can be added into destination folder. 🙂

SWF player during processing conversion from flash to video with GUI interface

By now, it is the end of illustration about how to use GUI tool to convert flash file to video file of AVI, MOV, MPG, FLV, ASF, etc. and set video size directly. And thank you for sharing this with me here, and if you need to own this tool for good, just do not hesitate to purchase VeryDOC Flash to Video Converter.