Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.02.15
LatitudeCoefficient Property
See Also 
Leadtools.Windows.Media.Effects.Core Namespace > MultiscaleEnhancementCommandBitmapEffect Class : LatitudeCoefficient Property





Gets or sets the latitude reduction coefficient.

Syntax

Visual Basic (Declaration) 
Public Property LatitudeCoefficient As Integer
Visual Basic (Usage)Copy Code
Dim instance As MultiscaleEnhancementCommandBitmapEffect
Dim value As Integer
 
instance.LatitudeCoefficient = value
 
value = instance.LatitudeCoefficient
C# 
public int LatitudeCoefficient {get; set;}
Managed Extensions for C++ 
public: __property int get_LatitudeCoefficient();
public: __property void set_LatitudeCoefficient( 
   int value
);
C++/CLI 
public:
property int LatitudeCoefficient {
   int get();
   void set (int value);
}
XAML Attributes Usage 

<object LatitudeCoefficient =int >

Dependency Property Information 

Identifier field

LatitudeCoefficientProperty

Metadata properties set to true

None

Return Value

The latitude reduction coefficient. This value will be internally divided by 100. Pass -1 to use the default values (which is 140 interpreted as 1.4). This option will be used only if MultiscaleEnhancementCommandBitmapEffectsFlags.LatitudeReduction is set in the Flags property. Any value (>= 0) is valid. A value of 100 will be interpreted as 1.0 and will keep the image’s latitude un-enhanced. Decreasing latitude makes the image brighter, increasing latitude makes the image dimmer. Practically, the enhancement levels out at 200000 (interpreted as 2000.0) – values bigger than that will not decrease the image’s latitude any more.

Example

For XAML example, refer to MultiscaleEnhancementCommandBitmapEffect.

For C#/VB examples, refer to MultiscaleEnhancementCommandBitmapEffect.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003

See Also