combit List & Label 30 - .NET Help
combit.Reporting Namespace / DrawPageHandler Delegate


DrawPageHandler Delegate

This event is called in the case of list projects for each displayed page and allows customized drawing with GDI+.

Syntax
'Declaration
 
Public Delegate Sub DrawPageHandler( _
   ByVal sender As Object, _
   ByVal e As DrawPageEventArgs _
) 
 

Parameters

sender
e
Example
private void listLabel1_DrawPage(object sender, DrawPageEventArgs e)
{
     e.Graphics.DrawString("DEMO-VERSION!", new Font("Arial",100),
     new SolidBrush(Color.Red), 0F, 0F);
} 
Requirements

Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
.NET: .NET Framework 4.8, .NET 6, .NET 8, .NET 9

See Also