GraphicsUnitConverter.DocToPixel(RectangleF) Method

Converts the location and size of a rectangle calculated in document units (measured in 1/300 of an inch) to a value calculated in pixels.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Data.v21.2.dll

Declaration

public static RectangleF DocToPixel(
    RectangleF val
)

Parameters

Name Type Description
val RectangleF

A RectangleF structure.

Returns

Type Description
RectangleF

A RectangleF structure.

The following code snippets (auto-collected from DevExpress Examples) contain references to the DocToPixel(RectangleF) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also