action                                                
       
up                          
                         
                                        
                               
print_action                           
backgroundcolor {rgb 1 1 0}     
                                
bordercolor {rgb 0 0 0}                                      
caption Print                        
Print         
tooltip {Print the document}             
                              
font                                
button_font             
                                                                                                    
                                                                                                    
                          
print_button   pushbutton                                          
sprintf(optlist, "action {up %d} backgroundcolor {rgb 1 1 0} bordercolor {rgb 0 0 0} "
"caption Print tooltip {Print the document} font %d",
print_action, button_font);
PDF_create_field(p, left_x, left_y, right_x, right_y, "print_button", 0,
"pushbutton", optlist);
                                                                       
Print                   
                                                                                                                                    
print_
icon.jpg                                                        
icon                        
                       
print_icon                                                                    
                                                            
print_icon = PDF_load_image(p, "auto", "print_icon.jpg", "template");
if (print_icon ==  1)
{
/*           
 */
return;
}
PDF_begin_page_ext(p, pagewidth, pageheight, "");
...
sprintf(optlist, "action {up %d} icon %d tooltip {Print the document} font %d",
print_action, print_icon, button_font);
PDF_create_field(p, left_x, left_y, right_x, right_y, "print_button", 0,
"pushbutton", optlist);
                              
                                                              
                                                                                                   
                        
textfield                                                
date                           
      
textfield_font = PDF_load_font(p, "Helvetica Bold", "winansi", "");
sprintf(optlist, "backgroundcolor {gray 0.8} font %d", textfield_font);
PDF_create_field(p, left_x, left_y, right_x, right_y, "date", 0, "textfield", optlist);
                                        
auto                                                         
                                                                                                            
                                                                                             
JavaScript                              
                                                        
                                                                                                     
          
JavaScript                      
   JavaScript         
                                          
                                                             
script                                                  
76
  
3   
:  PDFlib                          






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

cgi web hosting

 

Our partners: PHP: Hypertext Preprocessor Best Web Hosting Java Web Hosting Inexpensive Web Hosting  Jsp Web Hosting

Cheapest Web Hosting Jsp Hosting Cheap Hosting

Visionwebhosting.net Business web hosting division of Web Design Plus. All rights reserved