LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
UnitConverter Property
See Also 
Leadtools.Annotations Namespace > AnnContainer Class : UnitConverter Property



The UnitConverter Property is available in LEADTOOLS Document and Medical Imaging toolkits.

Gets or sets the AnnUnitConverter that will be used in the AnnContainer object.

Syntax

Visual Basic (Declaration) 
Public Overridable Property UnitConverter As AnnUnitConverter
Visual Basic (Usage)Copy Code
Dim instance As AnnContainer
Dim value As AnnUnitConverter
 
instance.UnitConverter = value
 
value = instance.UnitConverter
C# 
public virtual AnnUnitConverter UnitConverter {get; set;}
C++/CLI 
public:
virtual property AnnUnitConverter^ UnitConverter {
   AnnUnitConverter^ get();
   void set (    AnnUnitConverter^ value);
}

Property Value

The AnnUnitConverter setting for this AnnContainer object.

Example

For an example, refer to AnnContainer.

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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features