BeforePrintEvent doesn't get called

Trying to make an application from code where one object is an PictureObject that gets it's image from an .dll-file.
Can load an image to a generic PictureObject but when I try to set a BeforePrintEvent to a PictureObject that never gets called.

Code:
Dim LogoLeft As New PictureObject
With LogoLeft
.CreateUniqueName()
.Bounds = New RectangleF(0, 0, Units.Millimeters * 30, Units.Millimeters * 30)
.BeforePrintEvent = "LogoLeft_BeforePrint"
End With
data.Objects.Add(LogoLeft)

Public Sub LogoLeft_BeforePrint(ByVal sender As Object, ByVal e As EventArgs)

InsertLogo(report.GetColumnValue("Equipe.OrganizationId"), sender)

End Sub

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.