Gets the width of the pen that is drawn outside of the border of the geometry shape.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Function GetExtraPenWidth ( _
geometryHost As IGeometryHost _
) As Double
'使用
Dim instance As ShapeGeometry
Dim geometryHost As IGeometryHost
Dim returnValue As Double
returnValue = instance.GetExtraPenWidth(geometryHost)
public double GetExtraPenWidth(
IGeometryHost geometryHost
)
public:
double GetExtraPenWidth(
IGeometryHost^ geometryHost
)
public function GetExtraPenWidth(
geometryHost : IGeometryHost
) : double
Parameters
geometryHost
Type: Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHostThe instance of host data for the geometry.
Return Value
Type: System.Double
The width of the pen that is drawn outside of the border of the geometry shape.
Permissions
- 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.