---
title: "RectangleController..::.outlineStyle Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_RectangleController_outlineStyle.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# RectangleController.outlineStyle Property 
 
Gets/sets the rectangle outline pen style (solid, dashed, etc).
 
**Namespace:** [GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_J_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls (in Aurigma.GraphicsMill.AjaxControls.dll)
 
## Syntax
  
```
function get_outlineStyle();
function set_outlineStyle(value);
```
 
### Property Value
The string value represented the pen style of the rectangle outline.
 
## Remarks
  
The following styles are available:
 
- **none**Default. No border is drawn, regardless of any specified [outlineWidth](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_RectangleController_outlineWidth.htm.md).
- **dotted**Border is a dotted line. This value is supported on the Macintosh platform, as of Microsoft Internet Explorer 4.01, and on the Microsoft Windows platform, as of Internet Explorer 5.5. It renders as a solid line on Unix platforms, and on Windows systems running earlier versions of Internet Explorer.
- **dashed**Border is a dashed line. This value is supported on the Macintosh platform as of Internet Explorer 4.01 and on the Windows platform, as of Internet Explorer 5.5. It renders as a solid line on Unix platforms, and on Windows systems running earlier versions of Internet Explorer.
- **solid**Border is a solid line.
- **double**Border is a double line drawn on top of the background of the object. The sum of the two single lines and the space between equals the [outlineWidth](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_RectangleController_outlineWidth.htm.md) value. The outline width must be at least 3 pixels wide to draw a double border.
- **groove**3-D groove is drawn in colors based on the value.
- **ridge**3-D ridge is drawn in colors based on the value.
- **inset**3-D inset is drawn in colors based on the value.
- **outset**3-D outset is drawn in colors based on the value.

This property corresponds to [RectangleController.OutlineStyle](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_AjaxControls_RectangleController_OutlineStyle.htm.md) server-side member.
   
## See Also

### Reference

- [RectangleController Class](https://www.graphicsmill.com/docs/gm5/T_J_GraphicsMill_RectangleController.htm.md)
- [GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_J_GraphicsMill.htm.md)
