Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bitmap Resolution
Message
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01392582
Message ID:
01393627
Views:
27
Hi Einar, the bitmap was fine it was the way I was drawing it - this is what I have now
static void PrintDocument_PrintPage(object sender, PrintPageEventArgs e)
        {
            if (CalledViaCom)
            {
                Point p = new Point(Top, Left);
                e.Graphics.DrawImageUnscaled(m_PrintBitmap, p);
            }
            else
                e.Graphics.DrawImage(m_PrintBitmap,e.Graphics.VisibleClipBounds);
            
            e.HasMorePages = false;

        }
The members Top,Left and CalledViaCom are populated when called from VFP ( or anything not native ) - works like a charm
Regards,
Peter J. Kane



Pete
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform