绘制关系图。
命名空间: Microsoft.VisualStudio.Modeling.Diagrams
程序集: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)
语法
声明
Public Sub Print ( _
graphics As Graphics, _
clipRectangle As Rectangle, _
sourceLocation As PointD, _
scale As Single _
)
public void Print(
Graphics graphics,
Rectangle clipRectangle,
PointD sourceLocation,
float scale
)
参数
- graphics
类型:System.Drawing.Graphics
对于使用的图形对象绘制关系图。
- clipRectangle
类型:System.Drawing.Rectangle
的矩形区域绘制关系图的。
- sourceLocation
类型:Microsoft.VisualStudio.Modeling.Diagrams.PointD
左上角在对绘制关系图的剪辑矩形点。
- scale
类型:System.Single
序列图的范围。例如,则可能是 100% (1.0f)。
备注
此方法设置 PageUnit、 PageScale、 SmoothingMode和 TextRenderingHint 图像对象的。此方法根据 sourceLocation 参数的参数也将图像,对象。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。