(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
public static AnnContainer Create( 
   LeadPointD offset,
   LeadSizeD size,
   AnnContainerMapper mapper
)
Public Shared Function Create( _
   ByVal offset As LeadPointD, _
   ByVal size As LeadSizeD, _
   ByVal mapper As AnnContainerMapper _
) As AnnContainer
public static AnnContainer Create( 
   LeadPointD offset,
   LeadSizeD size,
   AnnContainerMapper mapper
)
-(id) initOffset:(LeadPointD)anOffset
            size:(LeadSizeD)aSize
          mapper:(LTAnnContainerMapper*) aMapper;
            
public AnnContainer(
   LeadPointD offset,
   LeadSizeD size,
   AnnContainerMapper mapper
)
            
 function Leadtools.Annotations.Core.AnnContainer.Create( 
   offset ,
   size ,
   mapper 
)

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, size 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

See Also

Reference

AnnContainer Class
AnnContainer Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.