[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  WndPrint( hWnd, hDCDest, nRow, nCol, nZoom )-> <nil>
------------------------------------------------------------------------------


 PARAMETER:

  <hWnd>        Is the handle that identifies the window to be printed

  <hDCDest>     Identifies the device context where the window image is
                to be copied.

  <nRow>        The target row where to place the image 

  <nRow>        The target col where to place the image 

  <nZoom>       An optional zoom factor, by default it is one.


 DESCRIPTION:

  This function will send the contents of the window to a printer. The
  scaling of the printout can be controlled by <nZoom>


 EXAMPLE:


    +--------------------------------------------------------------+
    |  /* Print the Window oWnd */                                 |
    |   PRINTER oTarget NAME oWnd:GetText()                        |
    |      PAGE                                                    |
    |        WndPrint( oWnd:hWnd, oTarget:hDC, 1, 1, 1)            |
    |      ENDPAGE                                                 |
    |   ENDPRINT                                                   |
    +--------------------------------------------------------------+


 SOURCE:

  SOURCE\WINAPI\WNDPRINT.C



See Also: Print WndCopy GetText Print
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson