Skip to main content

VisualBrick.GetClientRectangle(RectangleF, Single) Method

Returns the client rectangle of this VisualBrick.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v24.1.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

public virtual RectangleF GetClientRectangle(
    RectangleF rect,
    float dpi
)

Parameters

Name Type Description
rect RectangleF

A RectangleF object, representing the brick layout rectangle.

dpi Single

A Single value, specifying the printing resolution.

Returns

Type Description
RectangleF

A RectangleF object, representing the brick’s client rectangle.

Remarks

The GetClientRectangle method calculates the client rectangle dimensions for a given brick layout rectangle, considering the printing resolution and the brick style.

See Also