Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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.

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);
}

Return 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 RasterImage.Paint).

For more information, refer to Overlay Overview.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also