Intersoft WebGrid Documentation
SpotCutoff Property
See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace > ChartLightSourceSettings Class : SpotCutoff Property






Gets or sets the spot cutoff angle of the specified light source. With the help of this property you can make a positional light source act as a spot light.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Spotlight")>
<ISNet.Serialization.BinarySerializableAttribute()>
<ISNet.Serialization.XmlSerializableAttribute()>
<DescriptionAttribute("The spot cutoff angle of the light source.")>
<NotifyParentPropertyAttribute(True)>
<DefaultValueAttribute()>
Public Property SpotCutoff As Single
Visual Basic (Usage)Copy Code
Dim instance As ChartLightSourceSettings
Dim value As Single
 
instance.SpotCutoff = value
 
value = instance.SpotCutoff
C# 
[CategoryAttribute("Spotlight")]
[ISNet.Serialization.BinarySerializableAttribute()]
[ISNet.Serialization.XmlSerializableAttribute()]
[DescriptionAttribute("The spot cutoff angle of the light source.")]
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
public float SpotCutoff {get; set;}
Delphi 
public read-write property SpotCutoff: Single; 
JScript 
CategoryAttribute("Spotlight")
ISNet.Serialization.BinarySerializableAttribute()
ISNet.Serialization.XmlSerializableAttribute()
DescriptionAttribute("The spot cutoff angle of the light source.")
NotifyParentPropertyAttribute()
DefaultValueAttribute()
public function get,set SpotCutoff : float
Managed Extensions for C++ 
[CategoryAttribute("Spotlight")]
[ISNet.Serialization.BinarySerializableAttribute()]
[ISNet.Serialization.XmlSerializableAttribute()]
[DescriptionAttribute("The spot cutoff angle of the light source.")]
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
public: __property float get_SpotCutoff();
public: __property void set_SpotCutoff( 
   float value
);
C++/CLI 
[CategoryAttribute("Spotlight")]
[ISNet.Serialization.BinarySerializableAttribute()]
[ISNet.Serialization.XmlSerializableAttribute()]
[DescriptionAttribute("The spot cutoff angle of the light source.")]
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
public:
property float SpotCutoff {
   float get();
   void set (    float value);
}

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.