Snap(in Viewport) Method

Definition

Assembly Broadside.Viewer.dll

Snaps a viewport along the strip to the spread whose leading edge (less the padding) is nearest its leading edge.

public Viewport Snap(in Viewport viewport)

Parameters

viewport
Viewport

The viewport.

Returns

Viewport
The viewport snapped and kept inside the content, or unchanged when the layout has no pages.