XFINIUM.PDF Documentation
BeforeContentDraw Event (PdfFlowContent)



Xfinium.Pdf.FlowDocument Namespace > PdfFlowContent Class : BeforeContentDraw Event
Gets or sets the event that is fired before the flow content object is drawn on the page.
Syntax
'Declaration
 
Public Event BeforeContentDraw As EventHandler(Of PdfFlowContentDrawEventArgs)
'Usage
 
Dim instance As PdfFlowContent
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.

PropertyDescription
Gets the content being drawn.  
Gets the content bounds.  
Gets the content inner bounds.  
Gets the content outer bounds.  
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