←Select platform

Create Method

Summary

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

Syntax
C#
VB
Java
Objective-C
C++
Public Shared Function Create( _ 
   ByVal offset As LeadPointD, _ 
   ByVal size As LeadSizeD, _ 
   ByVal mapper As AnnContainerMapper _ 
) As AnnContainer 
-(id) initOffset:(LeadPointD)anOffset 
            size:(LeadSizeD)aSize 
          mapper:(LTAnnContainerMapper*) aMapper; 
public AnnContainer( 
   LeadPointD offset, 
   LeadSizeD size, 
   AnnContainerMapper 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 20.0.2019.3.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly