Click or drag to resize

CommonHelperApplyPadding Method (Orientation, Size, Padding)

Return the provided size with orientation specific padding applied.

Namespace:  Internal.ComponentFactory.Krypton.Toolkit
Assembly:  NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public static Size ApplyPadding(
	Orientation orientation,
	Size size,
	Padding padding
)

Parameters

orientation
Type: System.Windows.FormsOrientation
Orientation to apply padding with.
size
Type: System.DrawingSize
Starting size.
padding
Type: System.Windows.FormsPadding
Padding to be applied.

Return Value

Type: Size
Updated size.
See Also