DWF Viewer

Reply
Active Contributor
leon2003
Posts: 38
Registered: ‎12-07-2003
Message 1 of 2 (68 Views)

re:autodesk express viewer printing

68 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)
*Cochran, Ben
Message 2 of 2 (68 Views)

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)
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.