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.v24.2.dll
NuGet Package: DevExpress.Data
#Declaration
public PaddingInfo(
PaddingInfo src,
float dpi
)
#Parameters
Name | Type | Description |
---|---|---|
src | Padding |
A Padding |
dpi | Single | A Single value that specifies the dpi of the padding. This value is assigned to the Padding |
#Remarks
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.