SoftPaintingGetGraphicFromArray 方法 (Paintdata, Int32, Int32, GraphicRender) |
根据数据生成一个可视化的图形
命名空间:
HslCommunication.BasicFramework
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static Bitmap GetGraphicFromArray(
Paintdata[] array,
int width,
int height,
GraphicRender graphic
)
Public Shared Function GetGraphicFromArray (
array As Paintdata(),
width As Integer,
height As Integer,
graphic As GraphicRender
) As Bitmap
public:
static Bitmap^ GetGraphicFromArray(
array<Paintdata>^ array,
int width,
int height,
GraphicRender graphic
)
static member GetGraphicFromArray :
array : Paintdata[] *
width : int *
height : int *
graphic : GraphicRender -> Bitmap
参数
- array
- 类型:HslCommunication.BasicFrameworkPaintdata
数据集合 - width
- 类型:SystemInt32
需要绘制图形的宽度 - height
- 类型:SystemInt32
需要绘制图形的高度 - graphic
- 类型:HslCommunication.BasicFrameworkGraphicRender
指定绘制成什么样子的图形
返回值
类型:
Bitmap返回一个bitmap对象
参见