DWF Viewer (Read Only)
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

re:autodesk express viewer printing

1 REPLY 1
Reply
Message 1 of 2
leon2003
257 Views, 1 Reply

re:autodesk express viewer printing

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)
1 REPLY 1
Message 2 of 2
Anonymous
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)

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report