RectangleShapeGeometry.DoFoldToShape Method

Calculates the point along the vector which crosses the outline of the geometry.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntax

'Declaration
Public Overrides Function DoFoldToShape ( _
    geometryHost As IGeometryHost, _
    potentialPoint As PointD, _
    vectorEndpoint As PointD _
) As PointD
public override PointD DoFoldToShape(
    IGeometryHost geometryHost,
    PointD potentialPoint,
    PointD vectorEndpoint
)
public:
virtual PointD DoFoldToShape(
    IGeometryHost^ geometryHost, 
    PointD potentialPoint, 
    PointD vectorEndpoint
) override
abstract DoFoldToShape : 
        geometryHost:IGeometryHost * 
        potentialPoint:PointD * 
        vectorEndpoint:PointD -> PointD  
override DoFoldToShape : 
        geometryHost:IGeometryHost * 
        potentialPoint:PointD * 
        vectorEndpoint:PointD -> PointD
public override function DoFoldToShape(
    geometryHost : IGeometryHost, 
    potentialPoint : PointD, 
    vectorEndpoint : PointD
) : PointD

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD

.NET Framework Security

See Also

Reference

RectangleShapeGeometry Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace