ImageGear .NET - Updated
IsLegacyRulerAppearanceModeEnabled Property




ImageGear24.Art Assembly > ImageGear.ART Namespace > ImGearART Class : IsLegacyRulerAppearanceModeEnabled Property
Gets or sets a value indicating whether the legacy appearance of ImGearARTRuler and ImGearARTPolyRuler marks is enabled.
Syntax
'Declaration
 
Public Shared Property IsLegacyRulerAppearanceModeEnabled As Boolean
'Usage
 
Dim value As Boolean
 
ImGearART.IsLegacyRulerAppearanceModeEnabled = value
 
value = ImGearART.IsLegacyRulerAppearanceModeEnabled
public static bool IsLegacyRulerAppearanceModeEnabled {get; set;}
public: __property static bool get_IsLegacyRulerAppearanceModeEnabled();
public: __property static void set_IsLegacyRulerAppearanceModeEnabled( 
   bool value
);
public:
static property bool IsLegacyRulerAppearanceModeEnabled {
   bool get();
   void set (    bool value);
}

Property Value

Boolean value.
Remarks

True - enables legacy appearance of the ImGearARTRuler and ImGearARTPolyRuler, False - disables legacy appearance of the marks.

The default value is false.

Legacy mode emulates legacy appearance of the ImGearARTRuler and ImGearARTPolyRuler marks. In this mode the start/end line length is not being scaled to device resolution, the start/end elements are being rendered by constant size.

This property does not change the appearance of existing (i.e. already created or imported) annotations dynamically. If you need to enable the legacy appearance mode, you have to set this property to true before creating or importing Ruler or Polyline Ruler annotations.

Note: this flag is supported for WinForms display mode only.

>
See Also

Reference

ImGearART Class
ImGearART Members