AnnContainer Constructor

Summary

Initializes a new AnnContainer with default settings.

Syntax

JavaScript Syntax
AnnContainer = function() 
TypeScript Syntax
constructor(); 

Remarks

This constructor will initialize the members of AnnContainer as follows:

Member Description

Size

0,0

Offset

0,0

PageNumber

1

Mapper

Result of AnnContainerMapper.CreateDefault

Children

Empty collection ready to be used

SelectionObject

New AnnSelectionObject instance with its Stroke set to a dark green AnnStroke object with length of 2

Layers

Empty collection that is ready to be used

IsVisible

true

IsEnabled

true

Stroke

null

Fill

null

Labels

Empty collection ready to be used.

HitTestBuffer

37.5 annotations unit.

HitTestBehavior

AnnHitTestBehavior.Contains

Example

For an example, refer to AnnContainer.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Core Assembly