Click or drag to resize

CommonHelperApplyPadding Method (VisualOrientation, Rectangle, Padding)

Return the provided rectangle 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 Rectangle ApplyPadding(
	VisualOrientation orientation,
	Rectangle rect,
	Padding padding
)

Parameters

orientation
Type: Internal.ComponentFactory.Krypton.ToolkitVisualOrientation
Orientation to apply padding with.
rect
Type: System.DrawingRectangle
Starting rectangle.
padding
Type: System.Windows.FormsPadding
Padding to be applied.

Return Value

Type: Rectangle
Updated rectangle.
See Also