Gets the drawing surface control.
Syntax
Visual Basic (Declaration) | |
---|
Public ReadOnly Property DrawingSurface As Control |
C# | |
---|
public Control DrawingSurface {get;} |
Property Value
Control object containing the drawing surface control
Example
This example returns the index of the sheet where the text was found.
C# | Copy Code |
---|
private void fpSpread1AnnotationModeStarting(object sender, FarPoint.Win.Spread.AnnotationModeEventArgs e)
{
e.DrawingSurface.BackColor = Color.Cornsilk;
}
|
Visual Basic | Copy Code |
---|
Private Sub FpSpread1AnnotationModeStarting(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.AnnotationModeEventArgs)
e.DrawingSurface.BackColor = Color.Cornsilk
End Sub |
Requirements
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
See Also