System.Windows.Forms.Design.Behavior.SnapLine.AdjustOffset Method

Adjusts the SnapLine.Offset property of the snapline.

Syntax

public void AdjustOffset (int adjustment)

Parameters

adjustment
The number of pixels to change the snapline offset by.

Remarks

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 SnapLine.SnapLineType property value.

Requirements

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