Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.3.5
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;}
Managed Extensions for C++ 
public: __property bool get_AutoPaint();
public: __property void set_AutoPaint( 
   bool value
);
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 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also