Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the diagram and verifies whether it has an outline.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public Overrides ReadOnly Property HasOutline As Boolean
public override bool HasOutline { get; }
public:
virtual property bool HasOutline {
bool get () override;
}
abstract HasOutline : bool with get
override HasOutline : bool with get
override function get HasOutline () : boolean
Property Value
Type: System.Boolean
true if the diagram has an outline; otherwise, false.
Remarks
By default the return value is false.
Examples
if (this.HasOutline(geometryHost))
{
Color oldColor = geometryHost.UpdateGeometryLuminosity(e.View, outLinePen);
outLinePen.Color = oldColor;
}
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.