combit Software: CRM, Customer Relationship Management, Kontaktmanagement, Adressverwaltung, Reportgenerator, Reporting Tool
combit Software: reporting tools for software developers, CRM and contact management systems for everyone
Mein Konto: Login

Services

Knowledgebase

Integrating Bitmaps and Metafiles

Artikel KBTE000524 

Betrifft: List & Label 9, List & Label 10, List & Label 11, List & Label 12, List & Label 13, List & Label 14, List & Label 15, List & Label 16, List & Label 17, List & Label 18
Kategorie: .NET
Überarbeitet: 24.07.2012

The .NET Framework offers in the Namespace System.Drawing, extensive image editing methods. The most important image formats can be directly opened by using the bitmap and metafile classes. If desired, scanned in images can be very simply and effectively manipulated via the graphics class.

The methods LlDefineVariable and LlDefineField are overloaded for the bitmap and metafile classes, in order to pass on images (from a hard drive, or dynamically created) directly to List & Label.

In the following example, a BMP file is opened from the local hard drive. The loaded bitmap is then passed on to List & Label. Finished: That's all - the image is now in your report!

Bitmap b = new Bitmap("test.bmp");
LL.Variables.Add("pic1", b);

Hinweis: combit macht keine Angaben zu einer bestimmten Eignung obiger Informationen. Irrtümer und Fehler bleiben ausdrücklich vorbehalten, die Angaben erfolgen ohne Gewähr. Die Angaben stellen nur Beschreibungen dar und enthalten keine Garantie der Beschaffenheit der Produkte. Die Informationen können z.T. auch ein Versuch sein, Ihnen bei einer Aufgabenstellung zu helfen, selbst wenn das Produkt eigentlich nicht für diesen speziellen Zweck vorgesehen wurde.

 

Ihre Artikel-Bewertung:


Kommentar:  

© 1989-2013 combit GmbH. Alle Rechte vorbehalten. Beachten Sie unsere Hinweise zum Datenschutz. Irrtümer und Änderungen vorbehalten!