Skip to main content

PaddingInfo(PaddingInfo, Single) Constructor

Initializes a new instance of the PaddingInfo class and copies the settings from the object passed as the parameter according to the specified dpi value.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Data.v21.2.dll


public PaddingInfo(
    PaddingInfo src,
    float dpi


Name Type Description
src PaddingInfo

A PaddingInfo object whose settings are used to initialize the created object’s properties.

dpi Single

A Single value that specifies the dpi of the padding. This value is assigned to the PaddingInfo.Dpi property.


In this case the PaddingInfo.Left, PaddingInfo.Right, PaddingInfo.Top, and PaddingInfo.Bottom properties will be set to the values of the corresponding properties of the specified src object, and the PaddingInfo.Dpi property will be set to the specified dpi value, not to the PaddingInfo.Dpi value of the src object.

See Also