SnapLine.AdjustOffset Method (Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Adjusts the Offset property of the snapline.

Namespace:   System.Windows.Forms.Design.Behavior
Assembly:  System.Design (in System.Design.dll)

public void AdjustOffset(
	int adjustment
)

Parameters

adjustment
Type: System.Int32

The number of pixels to change the snapline offset by.

The offset of a snapline is the distance, in pixels, that the snapline is located from the associated control's upper-left origin. Although the offset can be set to any integer value, typically the snaplines retain the spatial relationships implied by their SnapLineType property value.

.NET Framework
Available since 2.0
Return to top
Show: