Spread Windows Forms 7.0 Product Documentation
GetErrorIconBound Method
See Also  Support Options
GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > InputManCellTypeBase Class : GetErrorIconBound Method


g
A Graphichs object
appearance
Appearance settings
cellRectangle
Rectangle to paint cell
zoomFactor
Zoomfactor setting

Glossary Item Box

Gets a rectangle to draw an error icon in.

Syntax

Visual Basic (Declaration) 
Public Overrides Function GetErrorIconBound( _
   ByVal g As Graphics, _
   ByVal appearance As Appearance, _
   ByVal cellRectangle As Rectangle, _
   ByVal zoomFactor As Single _
) As Rectangle
Visual Basic (Usage)Copy Code
Dim instance As InputManCellTypeBase
Dim g As Graphics
Dim appearance As Appearance
Dim cellRectangle As Rectangle
Dim zoomFactor As Single
Dim value As Rectangle
 
value = instance.GetErrorIconBound(g, appearance, cellRectangle, zoomFactor)
C# 
public override Rectangle GetErrorIconBound( 
   Graphics g,
   Appearance appearance,
   Rectangle cellRectangle,
   float zoomFactor
)

Parameters

g
A Graphichs object
appearance
Appearance settings
cellRectangle
Rectangle to paint cell
zoomFactor
Zoomfactor setting

Return Value

A rectangle

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

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.