LEADTOOLS (Leadtools assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
AutoPaint Property
See Also 
Leadtools Namespace > RasterOverlayAttributes Class : AutoPaint Property



Gets or sets a value which determines whether to paint the overlay automatically when the image is painted. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Property AutoPaint As Boolean
Visual Basic (Usage)Copy Code
Dim instance As RasterOverlayAttributes
Dim value As Boolean
 
instance.AutoPaint = value
 
value = instance.AutoPaint
C# 
public bool AutoPaint {get; set;}
C++/CLI 
public:
property bool AutoPaint {
   bool get();
   void set (    bool value);
}

Property Value

true to paint the overlay automatically when the image is painted; otherwise, false.

Example

Remarks

Set the value of this property to true to to paint the overlay automatically when the image is painted (with RasterImagePainter.Paint).

For more information, refer to Overlay Overview.

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7

See Also