SbRasterImageGetComponentsSize Method |
Returns the size in bytes of each pixel in the image.
Namespace: OIV.Inventor.ImageAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax public int GetComponentsSize()
Public Function GetComponentsSize As Integer
public:
int GetComponentsSize()
member GetComponentsSize : unit -> int
Return Value
Type:
Int32Remarks
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