Calculates the point along the vector which crosses over the outline of the shape geometry.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public MustOverride Function DoFoldToShape ( _
geometryHost As IGeometryHost, _
potentialPoint As PointD, _
vectorEndpoint As PointD _
) As PointD
'使用
Dim instance As ShapeGeometry
Dim geometryHost As IGeometryHost
Dim potentialPoint As PointD
Dim vectorEndpoint As PointD
Dim returnValue As PointD
returnValue = instance.DoFoldToShape(geometryHost, _
potentialPoint, vectorEndpoint)
public abstract PointD DoFoldToShape(
IGeometryHost geometryHost,
PointD potentialPoint,
PointD vectorEndpoint
)
public:
virtual PointD DoFoldToShape(
IGeometryHost^ geometryHost,
PointD potentialPoint,
PointD vectorEndpoint
) abstract
public abstract function DoFoldToShape(
geometryHost : IGeometryHost,
potentialPoint : PointD,
vectorEndpoint : PointD
) : PointD
Parameters
geometryHost
Type: Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHostThe instance of host data for the geometry.
potentialPoint
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointDThe point along the bounding rectangle to include in the perimeter of the shape geometry.
vectorEndpoint
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointDThe endpoint along the bounding rectangle to include in the perimeter of the shape geometry.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
The point along the vector which crosses over the outline of the shape geometry.
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.