←Select platform

SnapObjectToGrid Method

Summary

Provides an implementation of the SnapObjectToGrid method for this AnnRectangleEditDesigner object.

Syntax
C#
VB
C++
public override void SnapObjectToGrid( 
   AnnObject targetObject, 
   bool clipToContainer 
) 
Public Overrides Sub SnapObjectToGrid( _ 
   ByVal targetObject As AnnObject, _ 
   ByVal clipToContainer As Boolean _ 
)  
public:  
   virtual void SnapObjectToGrid( 
      AnnObject^ targetObject, 
      bool clipToContainer 
   ) override 

Parameters

targetObject
An AnnObject to snap.

clipToContainer
A Boolean value to specify if we want to clip the point to container bounds after snap or no.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Designers Assembly