DWF Viewer

DWF Viewer

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

re:autodesk express viewer printing

69 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 (69 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)
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.