Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word.Layout Namespace / LayoutElement Class / ShowDebugRect Method
The color of the new rectangle.
Indicates if the rectangle should only draw its borders, not background.

In This Topic
    ShowDebugRect Method
    In This Topic
    Shows a color rectangle for the current LayoutElement (for debugging purposes).
    Syntax
    'Declaration
     
    Public Sub ShowDebugRect( _
       ByVal color As System.Drawing.Color, _
       Optional ByVal drawBorders As System.Boolean _
    ) 
    public void ShowDebugRect( 
       System.Drawing.Color color,
       System.bool drawBorders
    )

    Parameters

    color
    The color of the new rectangle.
    drawBorders
    Indicates if the rectangle should only draw its borders, not background.
    See Also