Rss Directory > Computer > Software > Polestar Software
Techinical support of HtmlCapture Component, LitePDF Component and Polestar Virtual Printer.
 
To draw right-aligned text, you could combine the SetHorizontalAlign() and DrawTextInBox() functions. Please refer to LitePDF documentation for detains.
If you capture screenshots of websites which has activeX controls in it and stuck, please make sure you have done these things: Call funtion SetActiveXEnabled(true) Lower IE security settings (especially the options related to ActiveX). The webpages with ActiveX controls in them will be blocked by IE in default.
  Thu, 13 Mar 2008 09:49:08 +0100
 HtmlCapture v2.0 has been significantly improved than v1.0 in may ways. You can learn more information about the upgrade from the following URL: http://www.polestarsoft.com/htmlcapture/upgrade.php
There are two successful ways to make html thumbnails — cropping and resizing. HtmlCapture ActiveX provides SetThumbSize() funtion for resizing and SetClipRect() for cropping. You can use either or a combination of both to make the smaller images. If you want the thumbnail to give an overview of everything in the picture and don’t care much [...]
 Using HTmlCapture ActiveX 2.0, you can easily convert a webpage to multi-page PDF files. //create HtmlCapture var snap = new ActiveXObject("HtmlCapture.SnapShooter"); snap.SetRegInfo("username", "regcode"); //set your reg code here snap.SetRenderingEngine("firefox"); //set firefox as default rendering engine snap.CreatePDF("snapshot.pdf"); if(0 == snap.SnapUrl("http://www.google.com/“))  snap.AddImageToPDF(); if(0 == snap.SnapUrl(”http://www.yahoo.com/“))  snap.AddImageToPDF(); if(0 == snap.SnapUrl(”http://www.polestarsoft.com/“))  snap.AddImageToPDF(); snap.ClosePDF(); //release the object snap = null
  Tue, 25 Dec 2007 16:15:36 +0100
We are honored to announce that a new version of HtmlCapture ActiveX control (v2.0) has been released. New key features include: Using not only MSIE but also Firefox as rendering engine Save snapshot to PDF document Set custom cookies, HTTP headers, credentials in a snap request Take snapshots via a proxy server etc The new version is fully compatible with version [...]
The following demo program written in VBScript shows how to call SnapHtmlString() function with image on the internet. Dim snap Set snap = CreateObject("HtmlCapture.SnapShooter.1") snap.SetImageEnabled(True) snap.SetActiveXEnabled(True) snap.SnapHtmlString “<img src=’http://www.google.com/intl/en_ALL/images/logo.gif’>” snap.SaveMultiPageTiff "demo.tiff", 2000
The blue lines are added because your HtmlCapture is trial version. Once you buy our product, an reg code will be sent to you. Then you call SetRegInfo() with your reg name and reg code before calling SnapUrl() to remove the lines. Here’s the demo code for javascript: var snap = new ActiveXObject("HtmlCapture.SnapShooter.1"); snap.SetRegInfo("Your REGNAME", "Your REGCODE"); snap.SnapUrl("http://maps.google.com"); snap.SaveImage("snapshot.png");
We can do this using HtmlCapture V2.0 by the following steps: First, take snapshot of the whole web page, Then use the SetClipRect() function to select each parts and use the SaveImage() function to save them. The following codes in JScript show the details. //create HtmlCapture var snap = new ActiveXObject("HtmlCapture.SnapShooter"); snap.SetRegInfo("username", "regcode"); //set your reg code here //change [...]
We can do  this by calling the SetMinBrowserSize() function before calling SnapUrl(). The default MinBrowserSize is 800×600, so the minimum size of the output image is 800×600. The sample codes are listed as follows SnapShooter snap; snap.SetMinBrowserSize(300, 200);     //set minimum browser size to 300x200 snap.SnapUrl("xxx.com");