Skip to main content

GraphicsUnitConverter.Round(RectangleF) Method

Adjusts the floating-point dimensions of a rectangle to the nearest integer values.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Data.v23.2.dll

NuGet Package: DevExpress.Data

Declaration

public static Rectangle Round(
    RectangleF rect
)

Parameters

Name Type Description
rect RectangleF

A RectangleF structure.

Returns

Type Description
Rectangle

A Rectangle structure.

See Also