LEADTOOLS Annotations (Leadtools.Annotations assembly)
LEAD Technologies, Inc

UnitConverter Property (AnnContainer)






Gets or sets the AnnUnitConverter that will be used in the AnnContainer object.
Syntax
public virtual AnnUnitConverter UnitConverter {get; set;}
'Declaration
 
Public Overridable Property UnitConverter As AnnUnitConverter
'Usage
 
Dim instance As AnnContainer
Dim value As AnnUnitConverter
 
instance.UnitConverter = value
 
value = instance.UnitConverter
public virtual AnnUnitConverter UnitConverter {get; set;}
 get_UnitConverter();
set_UnitConverter(value);
public:
virtual property AnnUnitConverter^ UnitConverter {
   AnnUnitConverter^ get();
   void set (    AnnUnitConverter^ value);
}

Property Value

The AnnUnitConverter setting for this AnnContainer object.
Remarks
All objects inside this container will use this unit converter when converting points, lengths, sizes, etc. from one unit to another. It is recommended that you set the DPI for this AnnUnitConverter to the same DPI as the surface to which you are drawing the container.
Example
For an example, refer to AnnContainer.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AnnContainer Class
AnnContainer Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.