Click or drag to resize

IRelaxISWCFLinkGetModelImageData Method

Generate a PNG image of the given model.

Namespace: RelaxIS_SDK.RelaxISWCFLink
Assembly: RelaxIS SDK (in RelaxIS SDK.dll) Version: 3.0.23.63
Syntax
[OperationContractAttribute]
IReadOnlyCollection<byte> GetModelImageData(
	string model,
	double scale,
	bool inclBackground,
	bool inclElementNames
)

Parameters

model  String
The model.
scale  Double
The scale in which to draw, default 1.0.
inclBackground  Boolean
If true, a white background is added to the image, otherwise the background is transparent.
inclElementNames  Boolean
If true, element names are written alongside the elements in the image.

Return Value

IReadOnlyCollectionByte
The PNG image data as bytes. If the model is invalid, a placeholder image is returned.
See Also