Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
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;}
Managed Extensions for C++ 
public: __property virtual AnnUnitConverter* get_UnitConverter();
public: __property virtual void set_UnitConverter( 
   AnnUnitConverter* value
);
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 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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