Click or drag to resize

CommonHelperApplyPadding Method (VisualOrientation, Size, Padding)

Return the provided size with visual 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(
	VisualOrientation orientation,
	Size size,
	Padding padding
)

Parameters

orientation
Type: Internal.ComponentFactory.Krypton.ToolkitVisualOrientation
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