Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bitmap Resolution
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01392582
Message ID:
01393627
Vues:
28
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform