Skip to content

PDFFlowContentDrawEventArgs

Namespace: O2S.Components.PDF4NET.FlowDocument

Defines the event arguments for flow content drawing related events.

public class PDFFlowContentDrawEventArgs : System.EventArgs

Inheritance ObjectEventArgsPDFFlowContentDrawEventArgs

Properties

Content

Gets the content being drawn.

public PDFFlowContent Content { get; }

Property Value

PDFFlowContent
The content that is currently drawn on the page.


ContentBounds

Gets the content bounds.

public PDFDisplayRectangle ContentBounds { get; internal set; }

Property Value

PDFDisplayRectangle
The content bounds excluding any margins.

Remarks

This rectangle is located inside the PDFFlowContentDrawEventArgs.ContentInnerBounds rectangle.


ContentInnerBounds

Gets the content inner bounds.

public PDFDisplayRectangle ContentInnerBounds { get; internal set; }

Property Value

PDFDisplayRectangle
The content bounds that include the inner margins.

Remarks

This rectangle is located inside the PDFFlowContentDrawEventArgs.ContentOuterBounds rectangle.


ContentOuterBounds

Gets the content outer bounds.

public PDFDisplayRectangle ContentOuterBounds { get; internal set; }

Property Value

PDFDisplayRectangle
The content bounds that include the inner and outer margins.


Page

Gets the page on which the content is being drawn.

public PDFPage Page { get; }

Property Value

PDFPage