RectangleShapeGeometry.DoFoldToShape Method
This member overrides NodeShapeGeometry.DoFoldToShape(IGeometryHost, PointD, PointD).
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'Declaration
Public Overrides Function DoFoldToShape ( _
geometryHost As IGeometryHost, _
potentialPoint As PointD, _
vectorEndpoint As PointD _
) As PointD
'Usage
Dim instance As RectangleShapeGeometry
Dim geometryHost As IGeometryHost
Dim potentialPoint As PointD
Dim vectorEndpoint As PointD
Dim returnValue As PointD
returnValue = instance.DoFoldToShape(geometryHost, _
potentialPoint, vectorEndpoint)
public override PointD DoFoldToShape(
IGeometryHost geometryHost,
PointD potentialPoint,
PointD vectorEndpoint
)
public:
virtual PointD DoFoldToShape(
IGeometryHost^ geometryHost,
PointD potentialPoint,
PointD vectorEndpoint
) override
public override function DoFoldToShape(
geometryHost : IGeometryHost,
potentialPoint : PointD,
vectorEndpoint : PointD
) : PointD
Parameters
- geometryHost
Type: Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHost
- potentialPoint
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
- vectorEndpoint
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
.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.