Click or drag to resize
SoRasterImageRWRead Method (SbRasterImage, Boolean)

Read the current open image into rasterImage.

Namespace: OIV.Inventor.Image
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.0.0 (2024.2.0)
Syntax
public bool Read(
	SbRasterImage rasterImage,
	bool infoOnly
)

Parameters

rasterImage
Type: OIV.Inventor.ImageSbRasterImage
infoOnly
Type: SystemBoolean

Return Value

Type: Boolean
Remarks

Returns true if successful. Call the OIV.Inventor.Image.SoRasterImageRW.Open(OIV.Inventor.Image.SoRasterImageIO, OIV.Inventor.Image.SoRasterImageRW.OpenModes) method before calling this method.

If infoOnly is true, then the buffer will not be read; the parameter rasterImage will be set with raster size and raster number of components, the buffer will be NULL.

See Also