SbRasterImageGetComponentsCount Method |
Returns the number of components of each pixel.
Namespace: OIV.Inventor.ImageAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax public int GetComponentsCount()
Public Function GetComponentsCount As Integer
public:
int GetComponentsCount()
member GetComponentsCount : unit -> int
Return Value
Type:
Int32Remarks
Returns -1 in case of invalid or unknown components type.
E.g: For an RGB image it returns 3 (R, G and B).
See Also