CPDFSnappingMode Constants Reference

Declared in CPDFAnnotation.h

CPDFSnappingMode

Snapping mode used by the ruler snapping (object snapping) feature.

This is an Objective-C wrapper for the C++ SnappingMode enum in pso::measure::Ruler.

Definition

typedef NS_OPTIONS(NSInteger, CPDFSnappingMode ) {
   CPDFSnappingModeNone = 0,
   CPDFSnappingModeDefault = 15,
   CPDFSnappingModePointOnLine = 1,
   CPDFSnappingModeLineMidpoint = 2,
   CPDFSnappingModeLineIntersection = 4,
   CPDFSnappingModePathEndpoint = 8,
};

Constants

CPDFSnappingModeNone

Snapping mode used by the ruler snapping (object snapping) feature.

Declared In CPDFAnnotation.h.

CPDFSnappingModeDefault

Default: enable all snapping types.

Declared In CPDFAnnotation.h.

CPDFSnappingModePointOnLine

Snap to a point on a line.

Declared In CPDFAnnotation.h.

CPDFSnappingModeLineMidpoint

Snap to the midpoint of a line.

Declared In CPDFAnnotation.h.

CPDFSnappingModeLineIntersection

Snap to the intersection point of lines.

Declared In CPDFAnnotation.h.

CPDFSnappingModePathEndpoint

Snap to the endpoint of a line/path.

Declared In CPDFAnnotation.h.

Declared In

CPDFAnnotation.h