• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    Autodesk DWF Viewer

    Reply
    Active Contributor
    Posts: 38
    Registered: ‎12-07-2003

    re:autodesk express viewer printing

    61 Views, 1 Replies
    03-10-2003 11:22 PM
    I am using api3.1 and any one has sample code how to use print function ie. how to set up the parameters in followings?Thanks in advance!
    Print(dc As wireHDC, clientRect As tagRECT, whiteBackground As Boolean)
    Please use plain text.
    *Cochran, Ben

    autodesk express viewer printing

    03-17-2003 03:45 AM in reply to: leon2003
    Print and PrintEx only work when using C++. If
    you are using VB I suggest you use SimplePrint

     

    dc- device context

    left, bottom, right, top - view
    style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">coordinates
    .

    clientRect - area of the device context to use
    (this is only used when calling Print)

    whiteBackground - it true the background will
    be printed white and all white geometry will be printed
    black. 
     


    style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
    I
    am using api3.1 and any one has sample code how to use print function ie. how
    to set up the parameters in followings?Thanks in advance!
    Print(dc As
    wireHDC, clientRect As tagRECT, whiteBackground As
    Boolean)
    Please use plain text.