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;} |
Property Value
true to paint the overlay automatically when the image is painted; otherwise, false.For an example, refer to RasterImage.GetOverlayAttributes and RasterImage.UpdateOverlayAttributes.
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.
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