Error processing SSI file
LEADTOOLS JavaScript (Leadtools.Annotations.Core)

Create Method (AnnContainer)

Show in webframe
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 
)

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

Error processing SSI file