GraphicsUnitConverter.Round(RectangleF) Method

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

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Data.v20.2.dll

Declaration

public static Rectangle Round(
    RectangleF rect
)
Public Shared Function Round(
    rect As RectangleF
) As Rectangle

Parameters

Name Type Description
rect RectangleF

A RectangleF structure.

Returns

Type Description
Rectangle

A Rectangle structure.

See Also