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

GraphicsUnitConverter.Round(RectangleF) Method

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

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Data.v18.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