Home
        ACA WebThumb ActiveX User Manual
         Contents
1.      if   0     t_xMaker  gt StartSnap             Snap successful  call SetImageFile   to save the image   echo  Take screenshot successful       t_xMaker  gt Savelmage   c  acasystems png          2 gt     SetURL  Set the URL for the web page to be taken snapshot     e Syntax    void SetURL    string strURL        e Parameters  strURL     in  The URL for the web page to be taken snapshot  It can be a HTTP webpage URL  also can  be a local HTML file  For example   http   www acasystems com  or  file    C  mytest htm      SetActiveXEnabled    13    ACA WebThumb ActiveX    Enable Disable ActiveX controls on the web page     e Syntax    void SetActiveXEnabled    bool bEnable  i          e Parameters    bEnable     in  Boolean value that is true to enable ActiveX control on the web page     e Remarks  If the value is set to false  the ActiveX controls will not be executed     For security reason  the default value is false     GetActiveX Enabled    Query whether ActiveX is enabled on the web page    e Syntax    bool GetActiveXEnabled           e Return Value   Boolean value that is true if the ActiveX control is enabled on the web page   e Remarks   If the value is set to false  the ActiveX controls will not be executed     For security reason  the default value is false     Set JavaEnabled    Enable Disable Java applets on the web page     e Syntax    void SetJavaEnabled    bool bEnable  a          e Parameters    http   www acasystems com    ACA WebThumb ActiveX http   www aca
2.    heghat     SUGET   height    240  St_iRatiolype   isset  S_GET   ratiotype       _GET  ratiotype I   0        Set the URL and start snap  St_xMaker  gt SetURL  t_strURL     if   0    St_xMaker  gt StartSnap                 snap successful  set the thumbnail size and get image bytes  St_xMaker    gt SetThumbSize  St_iWidth  St_iHeight  St _iRatiolrype     St_arrBytes    t_xMaker  gt GetImageBytes   png                output the image bytes to client  ic   count  Se_arrsyces   gt  0       foreach St_arrBytes as Sbyte   echo chr   byte     GetJpegQuality    Get the quality level of the JPEG image     Syntax  long GetJpegQuality     Return Value    Return the JPEG quality level  A quality level of 0 corresponds to the greatest compression worst  quality   and a quality level of 100 corresponds to the least compression best quality      Set JpegQuality    Specify the quality level when you save a JPEG image     Syntax    31    ACA WebThumb ActiveX http   www acasystems com    void SetJpegQuality    LONG lQuality  i    e Parameters    Quality     in  Specify the quality level  A quality level of O corresponds to the greatest compression worst  quality   and a quality level of 100 corresponds to the least compression best quality     e Remarks    The default value is set to 90     SetTimestamp  Set a timestamp to the resulting thumbnail     e Syntax    void SetTimestamp    LONG 1TimeFormat  i       e Parameters  ITimeFormat    in  Specify the timestamp format  It can be one of fo
3.   before calling StartSnap         3 The network or website errors       Remarks  The function StartSnap navigates a hidden WebBrowser to open the specified URL and takes a snapshot  for the web page  You must call function SetURL  to set the URL to be taken snapshot before call  StartSnap   You can call function Savelmage   to save the image to the local file after function StartSnap succeeds     e Example    An example for VC          void SnapExample        ARE SUI  IThumbMaker   t_xpMaker   NULL      Initializes the COM library on the current thread  Colnititalaze  NUL             ACA WebThumb ActiveX http   www acasystems com    hr   CoCreateInstance    _ uuidof  ThumbMaker   NULL  CLSCTX_INPROC_S  __uuidof  IThumbMaker    void     amp t_xpMaker  y        E           RVER        if   SUCCEEDED  hr                      Tong ea lketi  0    t_xpMaker  gt SetURL  _T  http   www acasystems com       t_lRet   t_xpMaker  gt StartSnap      if   0    t_lRet                 Snap successful  call Savelmage   to save the image  and then call      WIN32 API ShellExecute   to open the image by default image viewer   t_xpMaker  gt Savelmage  _T  c  acasystems png        ShellExecute  NULL  _T  open    _T  c  acasystems png    NULL  NULL  SW_SHOW                                 t_xpMaker  gt Release            An example for PHP      lt  php  St_xMaker   new COM  ACAWebThumb ThumbMaker    or die  Start ACAWebThumb ThumbMakerfailed        St_xMaker  gt SetURL  http   www acasystems com  
4.  backup or archival purposes   You may not copy the printed materials accompanying the SOFTWARE PRODUCT     GRANT OF LICENSE    You may install and use an unlimited number of copies of the SOFTWARE PRODUCT  You may  reproduce and distribute an unlimited number of copies of the SOFTWARE PRODUCT  provided that  each copy shall be a true and complete copy  including all copyright and trademark notices  and shall be  accompanied by a copy of this EULA  Copies of the SOFTWARE PRODUCT may be distributed as a  standalone product or included with your own product as long as The SOFTWARE PRODUCT is not  sold or included in a product or package that intends to receive benefits through the inclusion of the  SOFTWARE PRODUCT  The SOFTWARE PRODUCT may be included in any free or non profit  packages or products     Without prejudice to any other rights  ACASystems Group may terminate this License if you fail to  comply with the terms and conditions of this License  In such event  you must destroy all copies of the  SOFTWARE PRODUCT and all of its component parts     Evaluation and Registration    If you use this software after the 14 day evaluation period a registration fee is required  See the web site  at http   www acasystems com  for information about online ordering and quantity discounts  When  payment is received you will be sent a registration number of latest version of ACA WebThumb  ActiveX Control         35    ACA WebThumb ActiveX http   www acasystems com    Unregistered use o
5.  or install SOFTWARE PRODUCT  and please remove this software from your computer  right now     1     SOFTWARE PRODUCT License    The SOFTWARE PRODUCT is protected by copyright laws and international copyright treaties  as  well as other intellectual property laws and treaties  All associated documentation and written materials  that accompany this program remains the property of ACASystems Group and are used only under  revocable license     The author exclusively owns all copyrights to SOFTWARE PRODUCT   The author reserves all rights not expressly granted here     You may not reverse engineer  decompile  or disassemble the SOFTWARE PRODUCT  except and  only to the extent that such activity is expressly permitted by applicable law not withstanding this  limitation     All title and copyrights in and to the SOFTWARE PRODUCT  including but not limited to any samples   images  photographs  animations  video  audio  music  text  and  applets   incorporated into the  SOFTWARE PRODUCT   the accompanying printed materials  and any copies of the SOFTWARE  PRODUCT  are owned by ACASystems or its suppliers  The SOFTWARE PRODUCT is protected by  copyright laws and international treaty provisions  Therefore  you must treat the SOFTWARE  PRODUCT like any other copyrighted material except that you may either  a  make one copy of the  SOFTWARE PRODUCT solely for backup or archival purposes  or  b  install the SOFTWARE  PRODUCT on a single computer provided you keep the original solely for
6.  the image height     http   www acasystems com    ACA WebThumb ActiveX http   www acasystems com    GetThumbWidth    Get the width value of the thumbnail image   e Syntax  long GetThumbWidth       e Return Value    The real width of thumbnail image     GetThumbHeight    Get the height value of the thumbnail image   e Syntax  long GetThumbHeight      e Return Value    The real height of thumbnail image     GetThumbRatioType    Get the ratio type value of the thumbnail image   e Syntax  long GetThumbRatioType      e Return Value    The ratio type value of the thumbnail image  0  keep ratio by width  1  keep ratio by height     SetBPP    Set the number of bits per pixel in the image   e Syntax    void SetBPP    Lomo LAR        e Parameters    IBPP    25    ACA WebThumb ActiveX http   www acasystems com     in  Specifies the number of bits per pixel in the image  This member must be one of the  following value  1  4  8  16  24  32     e Remarks    The default BPP value is 32     GetBPP    Get the number of bits per pixel in the image   e Syntax  long GetBPP      e Return Value  The number of bits per pixel in the image     Remarks    The default BPP value is 32     SetClipRect    Sets the coordinates of the specified clip rectangle to the image     e Syntax    void SetClipRect    long lLeft   loma ICS    long lWidth   long 1Height   i                      e Parameters    lLeft    in  Specifies the x coordinate    Top    in  Specifies the y coordinate   IWidth     in  Specifies t
7.  those programs that  meet our standards so that we re confident enough in them to offer them for sale through our site     At the time this file was written  here s a list of software we either have authored or sell on our site     e ACA Capture Pro   Capture screen images  web pages  Flash  icon  menu from your Windows PC  even those hard to grab DirectX  Direct3D games or video player  create videos of your computer  screen    e ACA Screen Recorder   it allows you to record the action from your Windows screen as an AVI movie   You can include cursor movements and sound  and take advantage of many other options    e ACA Audio Recorder   It s a direct and real time sound recorder software which offers professional  recording features with WAV  AVI and MP3 support    e ACA Color Picker   It s an utility that captures the color value of any screen pixel and displays its  value in a value of formats such as CMY  Decimal  Hexadecimal  HSB HSV  HSL  HSL Windows    HTML and RGB      ACA WebThumb ActiveX Control   HTML Webpage to Image SDK  add HTML to image  HTML to  PNG feature to your application with a few function calls    e ACA HTML to Image Converter   Convert web page to image by one click  save the long web page  as JPG  GIF  PNG  BMP  TIF  WMF and EMF image in batch     To get more information of our products  visit out website at http   www acasystems com      4  Contact ACASystems    Before contacting us for technical support  please check first the  Frequently Asked Qu
8. ACA WebThumb ActiveX    User Manual    http   www  acasystems com    Oct 29  2010    A    2  3  4  5  6  T    CA WebThumb ActiveX http   www acasystems com    Content    ACA WebThumb ActiveX Control    ccc ccccccssssscscccccccccesssssescccccsccesssssssescccsecsseusssesscsseesseussssesscsseeseeuseeseecs 4  The Features of ACA WebThumb ActiveX Control          occcccnononinncncnnnncnnononenanicocncnnonononanicnocicnnononennnacncccncnnononos 4  Example Snapshots iu deyedeea EE O senda O E E 5    How to Purchase ACA WebThumb ActiveX Control         ooonnnnnncnncncnnononnnunncncncnnonononeninococnnonononanaroconncnnononananisos 5  OIEA SAORA A a LO a N 5 E a E E E E E T 6  A E isles eds pg sich E a ke as E E E E 6  NR a e a e 7  Install and Dimas a as ena dad a A OS 7     ThumbMaker Interface Reference  Class Members     occccccnnnnnicccncnncnnnnononanicnococnnononenanecncccnnonononananococnnononinanininos 8  O 8  nap OPUS os 8  Image  Access FUNCIONA A aras 10  Other TURCOS EN OAE sd 11     ThumbMaker Interface Reference  Function Documentation      oocccccccnnononunecnoccnnnnnononanenacocononononananicricicnnonononos 12  o E ane dea ae oat aed 12  StURLinuaaiia mars 13  SEACE ADAE  Dt ati 13  GetActive MENA leds A A Ll a ue ete 14  SetlavaEnabled  ia do E N E rt aiii 14  Getlavak Mable  2 8 west A E tod ito OE E doo dodo 15  Set ScriptChmabled iii Aida 15  STEEN SCTE aC exact are ncled te laa at as ccna eset nae Lee Bea ies etna A a aly ana ae 16  Sl A ils si ce sng als ea a hel
9. SetImageFile   to save the image        echo  Take screenshot successful       t_xMaker  gt Savelmage   c  acasystems png     echo  Take screenshot successful           PS    GetBrowserWidth    Get the width of the hidden web browser window     e Syntax    long GetBrowserWidth      e Return Value   The width of the hidden web browser window   e Remarks    The default size of the web browser window is 1024x768     GetBrowserHeight  Get the Height of the hidden web browser window     e Syntax    long GetBrowserHeight      e Return Value   The height of the hidden web browser window     Remarks    The default size of the web browser window is 1024x768     SetTimeOut    19    ACA WebThumb ActiveX http   www acasystems com    Set the time out value in seconds for function StartSnap     e Syntax    void SetTimeOut    long 1TimeOut  y        e Parameters     TimeOut     in  A long integer that specifies the number of seconds  If this is reached  the function StartSnap  returns failed  If the  TimeOut is set to zero  no time limit is imposed     e Remarks    The default timeout value is 120 seconds     GetTimeOut    Get the timeout value in seconds for function StartSnap   e Syntax  long GetTimeOut      e Return Value  The timeout value in seconds   e Remarks    The default timeout value is 120 seconds  If the timeout value is set to zero  no time limit is imposed     SetDelayTime  Specifies the delay time value for StartSnap function  in milliseconds     e Syntax    void SetDelayTim
10. bnail image     e Syntax    byte   GetBitmapHandle    string strImageFormat  i    e Parameters    strlmageFormat     in     Specifies the image format  For example   png  ACA WebThumb ActiveX Control supports for following image formats       Raster image formats    1  BMP  2  JPG  3  GIF  4  PNG  5  TIF    Vector image formats  1  WMF  2  EMF    e Return Value    A bytes array contains the image data     e Remarks    Call this function after function StartSnap succeeds     e Example  An example for PHP      lt  php    http   www acasystems com       This sample script shows how to make a web thumbnial in the memory and output to    client browser            Parameters     ii url  The URL that you want to capture   Hie width  The thumbnail width  EN height  The thumbnail height    ACA WebThumb ActiveX http   www acasystems com    iif AMO yO ot hemi dii nece rario os  08 kecp racio lay videh Ls keso majo  by height    IN      Example        lt img src  onlinethumb php url http   www google com  gt  or   Lah  lt img  src  onlinethumb php url http   www google com amp width 320 amp height 240 amp   ratiotype 0  gt           set the output header   header   Content type  image png         Create instance ACAWebThumb ThumbMaker  St_xMaker   new COM  ACAWebThumb ThumbMaker      Ow axel         Get the parameters                         Se Gerni MS se  SAGE MUI SAGE Taio EAN Cc OOcglercomue  Se alicia   wes  Ss Gar    Myaiclela    h y S Car  pacha  e 3205   StolHelght   asset  S GET
11. d left in your ACA WebThumb ActiveX Control folder will remain behind   and in which case you will have to manually delete these     7  I1ThumbMaker Interface Reference  Class  Members    This is the complete list of members for  ThumbMaker     Snap function  Functions to take snapshots from web pages   e long StartSnap      Start the snap job     Snap Options  Set Get the snap options  e void SetURL  string strURL    Set the URL of the web page to be taken snapshot   e void SetActiveXEnabled  bool bEnable    Enable Disable ActiveX controls on the web page   e bool GetActiveXEnabled      Query whether ActiveX is enabled on the web page   e void SetJavaEnabled  bool bEnable      Enable Disable Java on the web page     ACA WebThumb ActiveX http   www acasystems com    e bool GetJavaEnabled      Query whether Java is enabled on the web page   e void SetJScriptEnabled  bool bEnable    Enable Disable JavaScript on the web page   e bool GetJScriptEnabled      Query whether JavaScript is enabled on the web page   e void SetImageEnabled  bool bEnable    Enable Disable image on the web page   e bool GetImageEnabled      Query whether image is enabled on the web page   e void SetVideoEnabled  bool bEnable    Enable Disable Video on the web page   e bool GetVideoEnabled      Query whether Video is enabled on the web page   e void SetBrowserSize   long 1Width  long lHeight    Set the size of the hidden web browser window   e long GetBrowserWidth      Get the width of the hidden web brows
12. dth     in  The width of the hidden web browser window       Height     in  The height of the hidden web browser window     Remarks    The default size of the web browser window is 1024x768     Example    An example for VC          void SnapExample            HRESULT hr    IThumbMaker   t_xpMaker   NULL       Initializes the COM library on the current thread  CoOlimsrdlalailae  NIE  e          hr   CoCreateInstance    _ uuidof  ThumbMaker   NULL  CLSCTX_INPROC_SERVER   __uuidof  IThumbMaker    void     amp t_xpMaker    i                hie    SUC Iara Diao  Java        long t_lRet   0   t_xpMaker  gt SetURL  _T  http   www acasystems com       t_xpMaker  gt SetBrowserSize 800  600      Set browser size to 800x600  t_lRet   t_xpMaker  gt StartSnap      if   0    t_lRet          Snap successful  call SetImageFile   to save the image  and then call     WIN32 API ShellExecute   to open the image by default image viewer   t_xpMaker  gt SavelImage  _T  c  acasystems png       ShellExecute  NULL  _T  open    _T  c  acasystems png    NULL  NULL  SW_SHOW                             t_xpMaker  gt Release            18    ACA WebThumb ActiveX http   www acasystems com    An example for PHP      lt  php  St_xMaker   new COM  ACAWebThumb ThumbMaker    or die  Start ACAWebThumb ThumbMakerfailed        St_xMaker  gt SetURL  http   www acasystems com      St_xMaker  gt SetBrowserSize 800  600      Set browser size to 800x600  LE     t_xMaker  gt StartSnap               Snap successful  call 
13. e    long 1DelayTime  y              e Parameters  lDelayTime     in  A long integer that specifies the delay time in milliseconds     20    ACA WebThumb ActiveX http   www acasystems com    e Remarks  The default delay time value is zero     If you want to take snapshot from the web page that including the video e x  YouTube video   you  should call SetDelayTime to specify a delay time for loading the video     GetDelayTime    Get the delay time value for StartSnap function  in milliseconds   e Syntax  long GetDelayTime      e Return Value  The delay time in milliseconds     Remarks    The default delay time value is zero     Savelmage  Save an image as the specified type     e Syntax    bool Savelmage    string strSaveFile  i    e Parameters  strSaveFile   in  The file name for the image   e Return Value  If the function succeeds  the return value is true   If the function fails  the return value is false    Remarks  1  Call this function to save the image using a specified name and type  the file name s file extension will be    used to determine the image format  For example   c  mytest jpg  or  c  mytest png    2  ACA WebThumb ActiveX Control supports for following image formats     21    ACA WebThumb ActiveX http   www acasystems com      Raster image formats    1  BMP  2  JPG  3  GIF  4  PNG  5  TIF    Vector image formats  1  WMF  2  EMF    3  Note  If you call Savelmage   to save the web snapshots to local folder in web scripts like PHP   ASP  ASP net  you should ass
14. e co eon ys O 16  Grethimage Hn abled encinar iaa astra 16  SetYideo Enabled di a ta A cs cite esate eee eee eet aa Bie ess led te ee 17  Get VideO Enabled tassios AAA Mite en aden hie el ited 17  DEL BLOW SELSIZC A a da e Cad da daa 17  Get BFOWSERW AGUS  12 3 c5 st Sosa selehes Stee ds A id Setecvewstersles a hese 19  GetBrow Ser ei Qh visi ii dada aida 19  Oe E OU a do ee emits 19  GATE OUEN A AA SA A ce ceiaaseada ns ieee tel neds bteon 20  SetDelay TM ra 20  RHEE aT TEx  sade ion 21  SN IA A A AS Gen eR A O ee es de RO 21  SECTAS docto dodo es canada cae 23  Get Thumb Width AA tanda 25  Get Pum bet tii rs 25  GetrhumbRato L V6 E ea a Rn aR 25  SetB PE Rr Ne ne SS ST SR o PAN OD e A 25  GeEB A TR 26  AC dd dae dd ade A 26  Era Eio  CC si veceasshace tee A E E neue A am eaa ante nnilied saute uate aaeeetats 27  S tD eA KOPAE ORAE Aa 28    ACA WebThumb ActiveX http   www acasystems com    Get Puna ai   cida 28  O ea ata as 28  e dls 29  E E O 30  GetpesOuall eiii otitis 31  A O 31  ROT 32  EEL EMD SO nt OI A A oda sae aa 32  SetH EMI SU 33  E 33  A ninine nunna n seebuns wus joanes Space sida E E T dees Geneaags dey deewisced hig E A eta 34  10 Useriiecase  MCs  a ii A sac Necauck 34  A A E 36    ACA WebThumb ActiveX http   www acasystems com    1  ACA WebThumb ActiveX Control    Do you want to take a screenshot from a web page in your desktop or web application  ACA WebThumb  ActiveX Control takes the snapshots of given URLs as JPG  GIF  PNG  BMP  TIFF  WMF and EMF image  
15. em  Explain it so we can re create it here  and we ll do our best to find out what causes it and  get back to you with a possible solution     You can contact us with ACASystems Support Systems  http   www acasystems com support      To be notified about product upgrades  please sign up for our mailing list at   http   www ACASystems com en maillist htm     5  System Requirements    To run ACA WebThumb ActiveX Control  your system must meet these specifications     Windows 2000  Windows XP  Windows 2003  Windows Vista  Windows 2008  Windows 7 or later  version   Internet Explorer 6 or later version   Internet connection   256 MB RAM  512 MB recommended    5 MB of hard disk space for program installing    6  Install and Uninstall    ACA WebThumb ActiveX Control supports for Windows standard Install Uninstall package     Get ACA WebThumb ActiveX Control Installation Program    You can visit our website at http   www acasystems com  or other download sites  download the newest  version for ACA WebThumb ActiveX Control         Installing ACA WebThumb ActiveX Control    Before installing  see System Requirements     ACA WebThumb ActiveX http   www acasystems com    o Run the ACA WebThumb ActiveX Control installation program   o Follow the instructions on the installation wizard   e Uninstalling ACA WebThumb ActiveX Control    Click the  Start  button  select Program  ACA Systems  ACA WebThumb ActiveX Control    Uninstall ACA WebThumb ActiveX Control     Any files you ve created an
16. er window   e long GetBrowserHeight      Get the Height of the hidden web browser window   e void SetTimeOut  long ITimeOut    Set the time out value in seconds for StartSnap function   e long GetTimeOut      Get the time out value in seconds for StartSnap function     e void SetDelayTime  long IDelayTime      ACA WebThumb ActiveX http   www acasystems com    Specifies the delay time value for StartSnap function  in milliseconds   e long GetDelayTime        Get the delay time value in milliseconds for StartSnap function     Image Access Functions  Set Get the snap options   e bool Savelmage  string strSaveFile    Save the image to the local file    e void SetThumbSize  long IWidth  long lHeight  long IRatioType    Set thumbnail image size    e long GetThumbWidth      Get the width value of the thumbnail image    e long GetThumbHeight      Get the height value of the thumbnail image    e long GetThumbRatioType      Get the ratio type value of the thumbnail image    e void SetBPP ong IBPP    Set the number of bits per pixel in the image    e long GetBPP      Get the color depth of the thumbnail image    e void SetClipRect  LONG ILeft  LONG ITop  LONG IWidth  LONG IHeight    Set the clip rectangle to the image    e long GetClipRect  LONG  po_ILeft  LONG  po_ITop  LONG  po_IWidth  LONG  po_lHeight    Get the clip rectangle to the image    e void SetDPI  long IDPIx  long IDPIy      Set resolution DPD  of the thumbnail image     ACA WebThumb ActiveX http   www acasystems com    e l
17. estions  FAQ   list at  our web site  The answer to your question may be already there  Click below to access the FAQ page right from  within the help system     FAQ URL  http   www acasystems com en faq htm       Support for ACA WebThumb ActiveX Control is always close at hand  a support ticket will get the quickest  response  Be certain to provide as much background information as possible     Ticket Support Systems  http   www acasystems com support   Include  at least  the following information if you encounter a problem with the software     e Your operating system  for example Windows Vista  Windows XP Professional or Windows 2000  Professional     ACA WebThumb ActiveX http   www acasystems com    How much RAM your computer has installed  sometimes called  memory  but different from  hard  disk space   something about which many novice users get understandably confused   If you don t know  how to check this  open an Explorer window  not Internet Explorer  Windows Explorer  and select  Help About  It should show you a listing on the bottom of the dialog  Physical memory available to  Windows  That will give you the RAM  but not swap file  available to the system for most versions of  Windows    Your computer s CPU and speed  for example  Pentium IV  2GHZ     A concise description of the problem and exactly what you did to get it to happen  If you can get it to  repeat at will  please give us every step from beginning until the end  that will help us replicate  your probl
18. f SOFTWARE PRODUCT after the 14 day evaluation period is in violation of  international copyright laws     4  Distribution of the Evaluation Version    Distribution of Evaluation Version Provided that you verify that you are distributing the evaluation  version  you are hereby licensed to make as many copies of the evaluation version of this software and  documentation as you wish  give exact copies of the original evaluation version to anyone  and  distribute the evaluation version of the software and documentation in its unmodified form via  electronic means  There is no charge for any of the above  Anyone distributing the shareware version of  SOFTWARE PRODUCT for any kind of remuneration must contact ACASystems prior to including it  within any distribution media     5  Registered Version    Your license covers the version or versions of the SOFTWARE PRODUCT as specified at the time you  received it  All versions of the same  master  number  for example  4 0  4 5  4 7   all 4 anything  are  covered by your license  If you download and install a  point  release and need a new number because  of changes to the program  please contact us  We ll provide you with a free upgrade to the  point   release     6  NO WARRANTIES    The Author of this Software expressly disclaims any warranty for the SOFTWARE PRODUCT  The  SOFTWARE PRODUCT and any related documentation is provided  as is  without warranty of any  kind  either express or implied  including  without limitation  the impl
19. he width of the clip rectangle     26    ACA WebThumb ActiveX http   www acasystems com    lHeight   in  Specifies the height of the clip rectangle     Remarks    Sets the coordinates of the specified clip rectangle to the image  You can use this function to take a  snapshot of a long HTML and break it up into multiple images     e Samples  ASP Sample  see  install folder  sample asp clip part asp     PHP Sample  see  install folder  sample php clip part php     GetClipRect    Gets the coordinates of the specified clip rectangle to the image   e Syntax    void GetClipRect    long   Liste   ome   TOD   Loja   Lwie   long   lHeight              e Parameters  lLeft   out  Get the x coordinate    Top   out  Get the y coordinate   IWidth   out  Get the width of the clip rectangle   lHeight   out  Get the height of the clip rectangle     Remarks    The default clip rectangle is  0  0  0  0      27    ACA WebThumb ActiveX http   www acasystems com    SetDPI    Set resolution DPD  of the thumbnail image     Syntax    void SetDPI    lome ILDI2  gt  lt                  Lomo INDIE yy   DE  Parameters  IDPIx     in  Specifies the horizontal resolution in dots per inch   IDPly    in  Specifies the vertical resolution in dots per inch   Remarks    The default DPI value is set to 96x96     GetDPIx    Get the horizontal resolution of the thumbnail image     Syntax    long GetDPIx     Return Value    the horizontal resolution of the thumbnail image  in dots per inch     GetDPly    Get the p g
20. ied warranties or merchantability   fitness for a particular purpose  or noninfringement  The entire risk arising out of use or performance of  the SOFTWARE PRODUCT remains with you     NO LIABILITY FOR DAMAGES    In no event shall the author of this Software be liable for any special  consequential  incidental or  indirect damages whatsoever  including  without limitation  damages for loss of business profits   business interruption  loss of business information  or any other pecuniary loss  arising out of the use of  or inability to use this product  even if the Author of this Software is aware of the possibility of such  damages and known defects     Should you have any questions concerning this license  or if you desire to contact us for any reason  please visit  our support systems http   www acasystems com support          11  Unregistered Copy Limitation    e ACA WebThumb ActiveX Control is limited for 14 days without registration   e The snapshot will be watermarked without registration     36    
21. ign WRITE permission to the storage folder  More information   please visit    http   www acasystems com en web thumb activex fag write permission htm  e Example    An example for VC          void SnapExample        ARE SUI   IThumbMaker   t_xpMaker   NULL      Initializes the COM library on the current thread  Corni ei cinto NUTNE          hr   CoCreateInstance    _ uuidof  ThumbMaker   NULL  CLSCTX_INPROC_SERVER   _ vuidof  IThumbMaker    void     amp t_xpMaker                                if   SUCCEEDED  hr             longs telket   107  t_xpMaker  gt SetURL  _T  http   www acasystems com       t_lRet   t_xpMaker  gt StartSnap                    if  0    t_lRet           Snap successful  save image as  PNG format  t_xpMaker  gt Savelmage  _T  c  acasystems png          Snap successful  save image as  JPG format  t_xpMaker  gt Savelmage  _T  c  acasystems jpg            t_xpMaker  gt Release            An example for PHP      lt  php  St_xMaker   new COM  ACAWebThumb ThumbMaker    or die  Start ACAWebThumb ThumbMakerfailed        St_xMaker  gt SetURL   http   www acasystems com      Le k     t_xMaker  gt StartSnap            Snap successful  save image as  PNG format   t_xMaker  gt Savelmage   c  acasystems png         Snap successful  save image as  JPG format          22    ACA WebThumb ActiveX    St_xMaker     gt SavelImage  c  acasystems  jpg      echo  Take screenshot successful                RS    SetThumbSize    Set thumbnail image size     e Syntax    void SetTh
22. it  helps you convert the web page to images in batch  capture full length website screenshots  generate thumbnail  image previews of web pages  Now  you can add  HTML to image    HTML to PNG    HTML to JPG   feature to your application with a few function calls     ACA WebThumb ActiveX Control can be used to convert not only web pages but also plain text files or Web  Archive Format    MHT  files into JPG  GIF  PNG  BMP  TIFF  WMF and EMF images     ACA WebThumb ActiveX Control is a small self contained  no third party dependencies  ActiveX control   so it can be used from any ActiveX ready languages  comprehensive samples for the most popular provided    The basic usage is as easy as few function calls  but there are also many options and tuning possibilities     The Features of ACA WebThumb ActiveX Control    e Convert HTML web pages  MHT and TXT to image on the fly or in memory   e Convert web pages to various image formats like JPG  GIF  PNG  BMP  TIFF  WMF and EMF    e Capture the whole web page  or a thumbnail image of a specified size   e Selectively show ActiveX  java applets  Java Scripts and Videos on a web page   e Support for controlling the color depth   e Support for controlling the image DPI   e Itcan be used with many programming languages like Visual C    Visual Basic  Delphi  CF  etc    e It can be used with popular server side script languages like ASP  ASP Net  PHP and Perl etc    e Get rich samples written in Visual C    Visual Basic  Delphi  C   C   Bui
23. lder  Java  JScript  Perl   VBScript  ASP  ASP net  PHP  etc     ACA WebThumb ActiveX http   www acasystems com          Example Snapshots  www acasystems com www msn com www download com en wikipedia org    sae St ie ae  Poa M        R    n    Sen    pases    is       ze     s ES        a on      s Ea      z A  w    ma oa   aces   ny St ron a    2  How to Purchase ACA WebThumb ActiveX  Control     You can license the program right from our web pages at http   www acasystems com   we offer many different  ways to order  including secure web forms  phone  fax and mail ordering  and processing of corporate purchase  orders        NOTE  Prices are subject to change without notice     Visit our web site to purchase any of ACASystems products  http   www acasystems com en buynow htm   Return Customer Discount 20  off  and Non profit Educational Org Discount 40  off  are available on the  order page        All minor and maintenance upgrades to purchased versions are available at no additional cost  Please review the  ACA WebThumb ActiveX Control upgrade page for more information     To be notified about product upgrades  please sign up for our mailing list at   http   www ACAS ystems com en maillist htm    ACA WebThumb ActiveX http   www acasystems com    3  Other ACASystems Products    In addition to this fine product  we make several other powerful utilities  Drop by our web pages at which  always contains links where you can download the latest versions of all of our programs or
24. llowing values   0   Disable timestamp  1   Time format  mm dd yyyy hh mm ss  2   Time format  dd mm yyyy hh mm ss  3   Time format  yyyy mm dd hh mm ss     Remarks    The default value is set to 0     Version require   gt   3 60    GetHTMLSource    Get the HTML source of the current web page     e Syntax    string GetHTMLSource       e Remarks    32    ACA WebThumb ActiveX http   www acasystems com    You should call this API after calling StartSnap   successfully     Version require   gt   4 00    SetHTMLSource    Write one or more HTML expressions to the current web page     e Syntax    void SetHTMLSource  string strHTMLSource     e Remarks    You should call this API before calling StartSnap    The parameter of API SetURL   will be ignored  once API SetHTMLSource   is called     Version require   gt   4 10  e Example    An example for PHP      lt  php  St_xMaker   new COM  ACAWebThumb ThumbMaker    or die  Start ACAWebThumb ThumbMakerfailed         t_xMaker  gt SetHTMLSource    lt H1 gt Test Title lt  H1 gt   lt p gt This is a sample  lt  p gt      if   0    St_xMaker  gt StartSnap            Snap successful  call SetImageFile   to save the image   echo  Take screenshot successful      St_xMaker  gt SavelImage   c  mytest png           Be       SetRegInfo    Set the registration information to remove the trial limit     e Syntax    void SetRegInfo    string strRegCode  i    e Parameters    strRegCode    33    ACA WebThumb ActiveX http   www acasystems com     in  The regi
25. ong GetDPIx 0    Get the horizontal resolution of the thumbnail image   e long GetDPly 0    Get the vertical resolution of the thumbnail image   e long GetBitmapHandle       Get the HBITMAP handle of the thumbnail image   e byte   GetImageBytes  string strimageFormat     Get the image memory bytes of the thumbnail image   e long GetJpegQuality       Get the quality of the JPEG image   e void SetJpegQuality  LONG IQuality     Adjust the quality of the JPEG image  set JPEG compression level   e void SetTimestamp  LONG ITimeFormat     Set a timestamp to the resulting thumbnail   e string GetHTMLSource       Get the HTML source of the current web page   e void SetHTMLSource  string st HTMLSource      Write one or more HTML expressions to the current web page     Other functions  e void SetRegInfo string strRegCode      Set the registration information to remove the trial limit     ACA WebThumb ActiveX http   www acasystems com    8  IThumbMaker Interface Reference  Function  Documentation    StartSnap  Start the snap job   e Syntax  long StartSnap      e Return Value  If the function succeeds  the return value is zero   If the function fails  the return value is nonzero     It may return one of the following values     Error Description  code P  0 Return successful   The snap process is time out  You can call function SetTimerOut to set the time out value     The trial version is expired  You should visit http   www acasystems com to purchase a  license  and then call SetRegInfo 
26. rue to enable image elements on the web page     e Remarks  If the value is set to false  the images will not be shown     The default value is true     GetImageEnabled    Query whether image elements is enabled on the web page     e Syntax          bool GetImageEnabled        e Return Value    http   www acasystems com    ACA WebThumb ActiveX http   www acasystems com    Boolean value that is true if the image elements is enabled on the web page     Remarks  If the value is set to false  the images will not be shown     The default value is true     Set VideoEnabled    Enable Disable Video on the web page     e Syntax       void SetVideoEnabled    bool bEnable  i       e Parameters  bEnable   in  Boolean value that is true to enable video on the web page   e Remarks  If the value is set to false  the video on the web page will not be downloaded and played     For security reason  the default value is false     Get VideoEnabled    Query whether Video is enabled on the web page     e Syntax    bool GetVideoEnabled              e Return Value  Boolean value that is true if the video is enabled on the web page   e Remarks  If the value is set to false  the video on the web page will not be downloaded and played     For security reason  the default value is false     SetBrowserSize    ACA WebThumb ActiveX http   www acasystems com    Set the size of the hidden web browser window     Syntax    void SetBrowserSize      long lWidth   long 1Height  i                 Parameters    IWi
27. stration code  for example   AAAAAAAAA BBBBBBBBB CCCCCCCCC   DDDDDDDDD   Once you purchase the component  a registration code will be sent to you by  email     e Remarks    You should call this function to remove the trial limit before calling StartSnap       9  Samples    The samples can be found in the folder  installed folder  ACA WebThumb sample   The samples written in  several kinds of languages  which show how to use ACA WebThumb ActiveX Control     Asp sample   Asp net sample   C  C Sharp   Asp net sample   vb net   Java sample   Perl sample   Php sample   VB 6 0 sample   VC 6 0  amp  VC 2005 sample  Winform   csharp   Winform   vb net    10  User License Terms    END USER LICENSE AGREEMENT FOR ACA WEBTHUMB ACTIVEX CONTROL EULA   Copyright    2010  ACASystems  All Rights Reserved   ACA WebThumb ActiveX Control   SOFTWARE PRODUCT   is a shareware  All rights reserved by  ACASystems Group  By receiving and or using this SOFTWARE PRODUCT  this agreement is a binding legal  agreement between ACASystems Group and the purchasers  users or evaluators of SOFTWARE PRODUCT  it    applies to the trial and registered version     Your agreement to this license by using  copying  transmitting  distributing or installing SOFTWARE  PRODUCT  you agree to all of the terms of this agreement     34    ACA WebThumb ActiveX http   www acasystems com    Please read the license terms below  If you do not agree to all of the terms of this license  then do not use  copy   transmit  distribute 
28. systems com    bEnable   in  Boolean value that is true to enable Java applets on the web page     Remarks  If the value is set to false  the Java applets will not be executed     For security reason  the default value is false     Get JavaEnabled    Query whether Java applets is enabled on the web page     e Syntax    bool GetJavaEnabled           e Return Value   Boolean value that is true if the Java applets is enabled on the web page   e Remarks   If the value is set to false  the Java applets will not be executed     For security reason  the default value is false     Set JScriptEnabled    Enable Disable JavaScript on the web page     e Syntax    void SetJScriptEnabled    bool bEnable              e Parameters  bEnable   in  Boolean value that is true to enable JavaScript on the web page   e Remarks  If the value is set to false  the JavaScript will not be executed     For security reason  the default value is false     ACA WebThumb ActiveX    Get JScriptEnabled    Query whether JavaScript is enabled on the web page     e Syntax    bool GetJScriptEnabled           e Return Value   Boolean value that is true if the JavaScript is enabled on the web page     Remarks   If the value is set to false  the JavaScript will not be executed     For security reason  the default value is false     SetImageEnabled    Enable Disable image elements on the web page     e Syntax    void SetImageEnabled    bool bEnable                 e Parameters    bEnable     in  Boolean value that is t
29. t resolution of the thumbnail image     Syntax    long GetDPIx     Return Value    the resolution of the thumbnail image  in dots per inch     28    ACA WebThumb ActiveX http   www acasystems com    GetBitmapHandle    Get the HBITMAP handle of the thumbnail image     Syntax    long GetBitmapHandle       Return Value   If the function succeeds  the return value is the HBITMAP handle of the thumbnail image   If the function failes  the return value is NULL    Remarks   Call this function after function StartSnap succeeds    When you no longer need the bitmap  call the Delete Object WINAPI function to delete it   Example    An example for VC          void SnapExample        HRESULT hr   IThumbMaker   t_xpMaker   NULL      Initializes the COM library on the current thread  CoInitialize  NULL            hr   CoCreateInstance    __uuidof  ThumbMaker   NULL  CLSCTX_INPROC_SERVER   __uuidof  IThumbMaker    void     amp t_xpMaker                    if   SUCCEEDED  hr                      long t_lRet   0     t_xpMaker  gt SetURL  _T  http   www acasystems com       t_lRet   t_xpMaker  gt StartSnap     i  10    te Rec                Snap successful  call GetBitmapHandle   to get the HBITMAP handle  HBITMAP t_hBMP    HBITMAP t_xpMaker  gt GetBitmapHandle      if   NULL    t_hBMP          TODO  Add your codes here  Vi       Delete the handle  DeleteObject  t_hBMP             t_xpMaker    gt Release       29    ACA WebThumb ActiveX    GetImageBytes    Get the image memory bytes of the thum
30. umbSize    long lWidth    long lHeight   long lRatioType                       e Parameters   Width     in  The width of the thumbnail image     If  Width and  Height is set to zero  the image will be saved with full size     http   www acasystems com    If  Width is set to zero and  Height is set to nonzero  the function will auto calculate the image    width   lHeight     in  The height of the thumbnail image     If  Width and  Height is set to zero  the image will be saved with full size     If  Height is set to zero and  Width is set to nonzero  the function will auto calculate the image    height     lRatioType     in  The width height ratio type  0  keep ratio by width  1  keep ratio by height     If  Width or lHeight is set to zero  this parameter will be ignored     e Remarks    The default thumbnail width and height is set to zero  the image will be saved with full size     e Example    An example for VC       23    ACA WebThumb ActiveX       void SnapExample        HRESULT hr   IThumbMaker   t_xpMaker   NULL      Initializes the COM library on the current thread  Colmataitala ze  NUL             hr   CoCreateInstance    _ uuidof  ThumbMaker   NULL  CLSCTX_INPROC_SERVER   __uuidof  IThumbMaker    void     amp t_xpMaker        T             CJ    ie   ES UCC             EDED  hr             long t_lRet   0    t_xpMaker  gt SetURL  _T  http   www acasystems com        ETRE e Maker Start omap        ie   Q    tlre           save image with full size  t_xpMaker  gt SetTh
31. umbSize  0 0 0    t_xpMaker  gt Savelmage  _T  c  acasystems_full png          set image size to 320x240  keep ratio by width  t_xpMaker  gt SetThumbSize  320 240 0    t_xpMaker  gt Savelmage  _T  c  acasystems_320x240 png       H Ber image viita co 320      an                            t_xpMaker  gt SetThumbSize  320 0 0    t_xpMaker  gt Savelmage   _T  c  acasystems_320xauto png          set image height 240  auto calculate the image width   t_xpMaker  gt SetThumbSize  0 240 0    t_xpMaker  gt SavelImage  _T  c  acasystems_autox240 png              t_xpMaker     gt Release            An example for PHP      lt  php  St_xMaker   new COM  ACAWebThumb ThumbMaker    or die  Start ACAWebThumb ThumbMaker failed       St_xMaker  gt SetURL  http   www acasystems com       if   0    St_xMaker  gt StartSnap          Ji eave marce wice ull size  St_xMaker  gt SetThumbSize  0 0 0     t_xMaker  gt Savelmage   c  acasystems_full png         set image size to 320x240  keep ratio by width  St_xMaker  gt SetThumbSize  320 240 0     t_xMaker  gt Savelmage   c  acasystems_320x240 png        set image width to 320  auto calculate the image height                          Se Mealscr  gt  SE HatiloSilze  320  0 0       t_xMaker  gt Savelmage   c  acasystems_320xauto png          set image height 240  auto calculate the image width   St_xMaker  gt SetThumbSize  0 240 0      t_xMaker  gt Savelmage   c  acasystems_autox240 png      echo  Take screenshot successful        DS    24    auto calculate
    
Download Pdf Manuals
 
 
    
Related Search
    
Related Contents
WFT-E2 II  Samsung ML-3310D Kasutusjuhend  Bianchi FRETTA 折りたたみ小径自転車  AC12N/AC42N Calculateurs pilote automatique    Show Designer 2CF User Manual v1.20        Samsung SGH-A800 Uživatelská přiručka    Copyright © All rights reserved. 
   Failed to retrieve file