# SnapSettings Element

Specifies the objects that shapes snap to when snap is active in the window.

The value may be a sum of the values in the following table.

Value | Description
--- | ---
0 | Snap to nothing.
1 | Snap to ruler subdivisions.
2 | Snap to grid.
4 | Snap to guides.
8 | Snap to selection handles.
16 | Snap to vertices.
32 | Snap to connection points.
256 | Snap to the visible edges of shapes.
512 | Snap to alignment box.
1024 | Snap to shape extensions options.
32768 | Snap disabled.
65536 | Snap to intersections.

## Syntax

    <SnapSettings>
    </SnapSettings>

## Attributes

None

## Element properties

Property | Value
--- | ---
Name | SnapSettings
Minimum Occurrences | 0
Maximum Occurrences | 1

## Element information

Parent elements

DocumentSettings

Window

Child elements

None

## Remarks

If a Windows element is present in the document, the SnapSettings setting in the active Window element overrides the SnapSettings setting in the DocumentSettings element.

## See also

SnapSettings property

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp