The normalised AnnotationCoordinates
The canvas to check if the annotation is within bounds
IsInBounds Method (AnnotationBase)
Performs a simple rectangular bounds-check to see if the X1,X2,Y1,Y2 coordinates passed in are within the Canvas extends
Syntax

Parameters

coordinates
The normalised AnnotationCoordinates
canvas
The canvas to check if the annotation is within bounds

Return Value

True if in bounds
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also