'Declaration
Public Function SnapXToGuidelines( _ ByVal activePage As NPage, _ ByVal x As System.Double, _ ByVal snapArea As System.Double, _ ByRef snappedX As System.Double _ ) As System.Boolean
'Usage
Dim instance As NSnapAndGlue Dim activePage As NPage Dim x As System.Double Dim snapArea As System.Double Dim snappedX As System.Double Dim value As System.Boolean value = instance.SnapXToGuidelines(activePage, x, snapArea, snappedX)
public System.bool SnapXToGuidelines( NPage activePage, System.double x, System.double snapArea, out System.double snappedX )
Parameters
- activePage
- x
- coordinate to snap
- snapArea
- area around guideline for snapping
- snappedX
- the result of snapping
Return Value
true if snapping succeeded, otherwise false