'Declaration
Public Event BeforeContentDraw As EventHandler(Of PdfFlowContentDrawEventArgs)
'Usage
Dim instance As PdfFlowDocument Dim handler As EventHandler(Of PdfFlowContentDrawEventArgs) AddHandler instance.BeforeContentDraw, handler
public event EventHandler<PdfFlowContentDrawEventArgs> BeforeContentDraw
public: event EventHandler<PdfFlowContentDrawEventArgs^>^ BeforeContentDraw
Event Data
The event handler receives an argument of type PdfFlowContentDrawEventArgs containing data related to this event. The following PdfFlowContentDrawEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Content | Gets the content being drawn. |
ContentBounds | Gets the content bounds. |
ContentInnerBounds | Gets the content inner bounds. |
ContentOuterBounds | Gets the content outer bounds. |
Page | Gets the page on which the content is being drawn. |
Requirements
Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard
Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2
See Also