Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
UnitConverter Property
See Also 
Leadtools.Annotations Namespace > AnnContainer Class : UnitConverter Property



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);
}

Return 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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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