VeryPDF Image to PDF COM enables conversions from various images to PDF by Windows users and allows programmers to develop other tools based on supported features. This page aims to help you understand what VeryPDF Image to PDF COM can do and how to help you through the following examples. VeryPDF Image to PDF COM converts raster images such as TIFF, JPM and JPEG to PDF/A or PDF documents for electronic archiving or electronic data exchange.
Operating Systems:
Windows 2000, XP, Vista, 7, 10, 11, Windows Server 2003, 2008,2008 R2 and later systems, both 32 Bit and 64 Bit
Output Formats: PDF/A-1a, PDF/A-1b, PDF 1.0 to 1.7
Input image format: TIF (TIFF), JPG (JPEG), PNG, GIF, PCD, PSD, TGA, BMP, DCX, PIC, EMF, WMF, etc.
Interfaces API: C#, Java, .NET, ect.
C#, VB .NET, J# via .NET, Java via JNI, MS Visual Basic, Borland Delphi, MS Office products such as Access and C++ via COM, C and C++ via native C
Private Sub Command1_Click()
Dim filename As String
Dim id As Long
Dim code As Long
Dim beginpage As Long
Dim pagenum As Long
Dim lFile As Long
filename = "append.pdf"
id = VeryOpen(filename)
If (id > 0) Then
ret = VeryAddImage(id, "test1.jpg")
ret = VeryAddImage(id, "test1.jpg")
VeryClose id
End If
End Sub
void main()
{
char szPDFFile[256];
char szImageFile[256];
long id;
memset(szPDFFile,0,256);
memset(szImageFile,0,256);
if(!LoadVeryWDll())
return ;
GetModulePath(szPDFFile,"append.pdf");
id=pVeryOpen(szPDFFile);
if(id>0)
{
pVeryAddInfo(id,"Title","Subject","Author",
"Keywords""Creator");
pVerySetFunction(id,Very_Set_ViewerPreferences,4+4096,2,0,0);
//add image file types
AddTIFFImage(id);
AddJPGImage(id);
AddWMFImage(id);
//add bookmark
pVerySetFunction(id,Very_Set_BookMark,0,0,
"bookmark three" ,0);
//add image four, the example for bit 24 bmp
AddImageData(id);
AddText(id);
AddLineAndRect(id);
AddTextFile(id);
AddTextExample2(id);
CharTable(id);
pVeryClose(id);
}
FreeVeryWDll();
ShellExecute(NULL,"open",szPDFFile,NULL,NULL,SW_SHOWNORMAL);
}
Besides samples of Visual Basic and Visual C++ mentioned above, VeryPDF Image to PDF COM provides other examples in download package obtained from Try and Buy
You can click here to view more features about VeryPDF Image to PDF COM.