←Select platform

Create Method

Summary

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

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
-(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 (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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Core Assembly