A newer version of this page is available. Switch to the current version.

VisualBrick.GetClientRectangle(RectangleF, Single) Method

Returns the client rectangle of this VisualBrick.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v18.2.Core.dll


public virtual RectangleF GetClientRectangle(
    RectangleF rect,
    float dpi
Public Overridable Function GetClientRectangle(
    rect As RectangleF,
    dpi As Single
) As RectangleF


Name Type Description
rect RectangleF

A RectangleF object, representing the brick layout rectangle.

dpi Single

A Single value, specifying the printing resolution.


Type Description

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


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

See Also