XRConvert.ConvertMargins(Margins, Single, Single) Method

Adjusts the document margins according to the specified DPI setting.

Namespace: DevExpress.XtraReports.UI

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

Declaration

public static Margins ConvertMargins(
    Margins val,
    float fromDpi,
    float toDpi
)
Public Shared Function ConvertMargins(
    val As Margins,
    fromDpi As Single,
    toDpi As Single
) As Margins

Parameters

Name Type Description
val Margins

A Margins object.

fromDpi Single

A Single value, specifying the initial DPI setting.

toDpi Single

A Single value, specifying the required DPI setting.

Returns

Type Description
Margins

A Margins object.

See Also