Hi,
Before anything I would like to thank you for your upgrades in AVAX. They were great!
Today I noticed something while testing printing by AVAX. I chose an object. So the selection area was activated around it. Then I tried to print an area. But it just printed the originally selected object. It was actually something I was looking for. But I would like it to be so that I won't need to select after selecting an object. So when I select a single object and then click 'Print', It prints the selected object without need to select an area. How would i do this?
Thank you
Page 1 of 1
Print a single object
#2
Posted 06 June 2005 - 06:22 PM
Hi,
You can find the selected border with the function "GetBoundsSelectedItems".
You can find the selected border with the function "GetBoundsSelectedItems".
Dim xMin As Single, yMin As Single, zMin As Single Dim xMax As Single, yMax As Single, zMax As Single If cAvax1.IsSelected = True Then Call cAvax1.GetBoundsSelectedItems(xMin, yMin, zMin, xMax, yMax, zMax) Call cAvax1.PrintToPrinter(Printer.DeviceName, epsA4, 10, xMin, yMin, xMax, yMax, True) End If
Athanasios Gardos
Avax-Software.com
Avax-Software.com
Page 1 of 1
Sign In
Register
Help
Add Reply

MultiQuote