←Select platform

Create Method

Summary
Creates a new AnnContainer with the specified offset, size and mapper.
Syntax
C#
Objective-C
C++/CLI
Java
Python
-(id) initOffset:(LeadPointD)anOffset 
            size:(LeadSizeD)aSize 
          mapper:(LTAnnContainerMapper*) aMapper; 
public AnnContainer( 
   LeadPointD offset, 
   LeadSizeD size, 
   AnnContainerMapper mapper 
) 
def Create(self,offset,size,mapper): 

Parameters

offset
The offset for the new AnnContainer in annotation units (1/720 of an inch).

size
The size for the new AnnContainer in annotation units (1/720 of an inch).

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

Help Version 22.0.2023.7.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.