LEADTOOLS WPF and Silverlight (Leadtools.Windows.Controls assembly)

Stroke Property

Show in webframe





Gets or sets brush used to draw the pan rectangle.
Syntax
public Brush Stroke {get; set;}
'Declaration
 
Public Property Stroke As Brush
'Usage
 
Dim instance As ImagePanViewer
Dim value As Brush
 
instance.Stroke = value
 
value = instance.Stroke

            

            
public:
property Brush^ Stroke {
   Brush^ get();
   void set (    Brush^ value);
}

Property Value

An System.Windows.Media.Brush object which is used to draw the pan rectangle. Default value is red System.Windows.Media.SolidColorBrush.
Remarks

The control draws the pan rectangle using the Stroke as its color, StrokeThickness as the size of the rectangle border in pixels. You can fill the area inside the pan rectangle with InnerBrush and the area outside the pan rectangle with OuterBrush.

Example

For XAML example, refer to ImagePanViewer.

For C#/VB examples, refer to ImagePanViewer.

Requirements

Target Platforms

See Also

Reference

ImagePanViewer Class
ImagePanViewer Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.