resizeLargeObject Property

Summary

Automatically resizes a dropped object when its size is larger than the container.

Syntax
TypeScript
JavaScript
Object.defineProperty(AnnDragDropEventArgs.prototype, 'resizeLargeObject', 
	get: function(), 
	set: function(value) 
) 
resizeLargeObject: boolean; 

Property Value

true to automatically resize a dropped object when its size is larger than the container; otherwise, false. The default value is true.

Remarks

resizeLargeObject and AnnAutomationManager.RestrictDesigners control the behavior when the size of the dropped object is larger than target container.

The following behavior occurs when the value of AnnAutomationManager.RestrictDesigners is true:

  1. If the value of resizeLargeObject is true (the default value), then the framework will complete adding the object to the target container and its size will be scaled to fit the container size.
  2. If the value of resizeLargeObject is false, then the object size will be ignored and not added to the target container.
  3. If the object size is less than the container size then resizeLargeObject is ignored and the object is added as is.

If the value of AnnAutomationManager.RestrictDesigners is false, then resizeLargeObject is not used and the same behavior as (3) above will always occur regardless of the size of the object or the container.

Requirements

Target Platforms

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

Leadtools.Annotations.Automation Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.