Diagram::HasOutline Property

 

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)

public:
property bool HasOutline {
	virtual bool get() override;
}

Property Value

Type: System::Boolean

true if the diagram has an outline; otherwise, false.

By default the return value is false.

if (this.HasOutline(geometryHost))
{
    Color oldColor = geometryHost.UpdateGeometryLuminosity(e.View, outLinePen);
    outLinePen.Color = oldColor;

}
Return to top
Show: