create Method

Summary

Creates a new AnnContainer with the specified offset, size and mapper.

Syntax

JavaScript Syntax
create = function(offset, size, mapper) 
TypeScript Syntax
static create(offset: LeadPointD, size: LeadSizeD, mapper: AnnContainerMapper): AnnContainer; 

Parameters

offset

The offset for the new AnnContainer in annotation units.

size

The size for the new AnnContainer in annotation units.

mapper

The mapper to use in this container when converting display, container and image coordinates.

Return Value

The newly created AnnContainer object.

Remarks

This method creates a new container and sets offset into offset into Size and mapper into Mapper.

If the value of mapper is null, then AnnContainerMapper.CreateDefault will be used to create a mapper.

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