Collins Software
Software Developer
713-682-1556
ETerms ICMap Mav Cg2 Contact Links Videos

CollinsHTML Reference Guide

html = new html$(); 

set html = vb_html    ' VBScript to create Object

html.parse(data); load html document
html.loadFromUrl(url) load html document from url
html.loadFromFile(filename) load html document from file
   
html.resize(width,height); size html document to given dimensions
html.writeToPdf(pdf);    write paganated html to pdf
html.writeToPdfFit(pdf);    expand a PDF page to the extents of the html document
html.writeToCanvas(canvas) output HTML document as an Image to an HTML5 Canvas
   
width = html.width(); document width (pixels)
height = html.height(); document height (pixels)
   
html.convertImageCommand = 'http://yoursite/cgi-bin/CollinsImage.cgi?input={href}&format=.jpg';
html.imagePath = "./Images/";

Copyright © 2012, Collins Software
 Privacy       Hobbies