How to set the PrintableArea use .NET?
Use PlotConfigManager can get the MediaBounds ,but how to set?
Set the paper margins to 0, like this:
Dim acPlConfig As PlotConfig = PlotConfigManager.CurrentConfig Dim mdb As MediaBounds = acPlConfig.GetMediaBounds("A4") 'mdb.LowerLeftPrintableArea = New Point2d(0, 0) 'mdb.UpperRightPrintableArea = mdb.PageSize
The code can not solve the problem, what is missing?
Any advice / guidance would be appreciated.
Plotting is rather a wide argoument, may I suggest you the plot articles in Kean's blog? There are a few, from simpler to more advanced.
A good starting point would be this: http://through-the-interface.typepad.com/through_the_interface/2007/09/driving-a-basic.html
Hi,
You cannot change it for an existing media name.
But you can select a media name that is closest to the size that you want.
Regards,
Balaji