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

Express View C# Printing Issue

3 REPLIES 3
Reply
Message 1 of 4
ronebarr
346 Views, 3 Replies

Express View C# Printing Issue

I am attempting to use the PrintEx function in C#. I am looking for some help identifying exactly what needs to go into the AdPageView._RemotableHandle structure.

Any help is appreciated.

Ron Barr
KONE Inc.
ronald.barr@kone.com
3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: ronebarr

That must be coming from the C# marshaller, it's
not part of our interface.  At any rate, you should avoid coding to
hidden methods or properties, as they may
change or be removed in future releases.


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
I
am attempting to use the PrintEx function in C#. I am looking for some help
identifying exactly what needs to go into the AdPageView._RemotableHandle
structure.

Any help is appreciated.

Ron Barr
KONE Inc.

ronald.barr@kone.com

Message 3 of 4
Anonymous
in reply to: ronebarr


You will need to use C++ to call
the methods Print and PrintEx. Because you are using C# you can easily create a
managed C++ class to wrap the call to Print and PrintEx. Once inside of C++ we
will see the wireHandel is simply a DC.



size=2>
 


Your other option is to use
SimplePrint.



style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
I
am attempting to use the PrintEx function in C#. I am looking for some help
identifying exactly what needs to go into the AdPageView._RemotableHandle
structure.

Any help is appreciated.

Ron Barr
KONE Inc.

ronald.barr@kone.com

Message 4 of 4
ronebarr
in reply to: ronebarr

Thanks to you both. I will give this a try.

Ron Barr
KONE Inc.
ronald.barr@kone.com

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

Post to forums  

Autodesk Design & Make Report