CustomDrawBackgroundEventArgs.PrintBounds Property
In This Article
Gets the rectangle which encompasses the total background area when printing the diagram.
Namespace: DevExpress.XtraDiagram
Assembly: DevExpress.XtraDiagram.v24.2.dll
NuGet Package: DevExpress.Win.Diagram
#Declaration
public RectangleF? PrintBounds { get; }
#Property Value
Type | Description |
---|---|
Nullable<Rectangle |
The total bounds of the background. |
#Remarks
The CustomDrawBackgroundEventArgs.PrintClientBounds property returns the bounds of the background excluding margins.
Returns null when the background is not rendered for printing.
See Also