LEADTOOLS JavaScript (Leadtools.Annotations.Core)
LEAD Technologies, Inc

Create Method (AnnContainer)


The offset for the new AnnContainer in annotation units.
The size for the new AnnContainer in annotation units.
The mapper to use in this container when converting display, container and image coordinates.
Creates a new AnnContainer with the specified offset, size and mapper.
Syntax
 function Leadtools.Annotations.Core.AnnContainer.create( 
   offset ,
   size ,
   mapper 
)
!MISSING Scrap '_RTJavaScript_Method_SYNTAX'!

Parameters

ParameterTypeDescription
offsetLeadPointDThe offset for the new AnnContainer in annotation units.
sizeLeadSizeDThe size for the new AnnContainer in annotation units.
mapperAnnContainerMapperThe mapper to use in this container when converting display, container and image coordinates.

Return Value

TypeDescription
AnnContainer The newly created AnnContainer object.
Remarks

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

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

See Also

Reference

AnnContainer Object
AnnContainer Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.