Click or drag to resize
SbRasterImageGetComponentsSize Method

Returns the size in bytes of each pixel in the image.

Namespace: OIV.Inventor.Image
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public int GetComponentsSize()

Return Value

Type: Int32
Remarks

Returns -1 in case of invalid or unknown components type.

E.g: For an RGB image containing byte data, the pixel size is 3 bytes.

See Also