VisualBrick.GetClientRectangle(RectangleF, Single) Method

Returns the client rectangle of this VisualBrick.

Namespace: DevExpress.XtraPrinting

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

Declaration

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

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