ArcObjects Library Reference (Controls)  

IPageLayoutControlDefault.BorderStyle Property

The border style of the PageLayoutControl.

[Visual Basic .NET]
Public Property BorderStyle As esriControlsBorderStyle
[C#]
public esriControlsBorderStyle BorderStyle {get; set;}
[C++]
HRESULT get_BorderStyle(
  esriControlsBorderStyle* pstyle
);
[C++]
HRESULT put_BorderStyle(
  esriControlsBorderStyle pstyle
);
[C++]

Parameters

pstyle [out, retval]

  pstyle is a parameter of type esriControlsBorderStyle

pstyle [in]

  pstyle is a parameter of type esriControlsBorderStyle

Product Availability

Available with ArcGIS Engine.

Description

Returns or sets the border style of a PageLayoutControl. By default a border is drawn.

Errors Returned

1005 800a03ed: The value of a parameter which is an enumerated constant is out of the range of required values

See Also

IPageLayoutControlDefault Interface

.NET Samples

Use a PageLayoutControl as an overview window (Code Files: Overview)