You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MetaDraw Developers Group
I'm trying to print using MetaDraw 2 with Visual Basic.
I copied the code from the MetaDraw for Winforms document for
printing:
' Print the entire picture to printer chosen by end user
mdrMap.Current = ObjHandle.MainContainer
mdrMap.ExportOptions = ExportFlags.Visible
mdrMap.ExportDC = -2 ' Chosen printer
The only thing I changed is adding the Visible flag. As soon as I
press enter on the last line I get this error message:
Error 3 Overload resolution failed because no accessible 'ExportDC'
accepts this number of arguments.
What am I missing?
James
James Lorimor
unread,
Oct 24, 2011, 12:55:32 PM10/24/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MetaDraw Developers Group
I figured it out.
If you use mdrMap.ExportDC(-2), it works the way it's supposed to.