RelaxISWCFLinkProxyGetModelImageData Method |
Generate a PNG image of the given model.
Namespace: RelaxIS_SDK.RelaxISWCFLinkAssembly: RelaxIS SDK (in RelaxIS SDK.dll) Version: 3.0.23.63
Syntax public IReadOnlyCollection<byte> GetModelImageData(
string model,
double scale,
bool inclBackground,
bool inclElementNames
)
Public Function GetModelImageData (
model As String,
scale As Double,
inclBackground As Boolean,
inclElementNames As Boolean
) As IReadOnlyCollection(Of Byte)
Dim instance As RelaxISWCFLinkProxy
Dim model As String
Dim scale As Double
Dim inclBackground As Boolean
Dim inclElementNames As Boolean
Dim returnValue As IReadOnlyCollection(Of Byte)
returnValue = instance.GetModelImageData(model,
scale, inclBackground, 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
IReadOnlyCollectionByteThe PNG image data as bytes. If the model is invalid, a placeholder image is returned.
Implements
IRelaxISWCFLinkGetModelImageData(String, Double, Boolean, Boolean)See Also