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
Declaration
Parameters
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. |
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.