SoRasterImageRWRead Method (SbRasterImage, Boolean) |
Read the current open image into rasterImage.
Namespace: OIV.Inventor.ImageAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.36.0 (9.9.36.0)
Syntaxpublic bool Read(
SbRasterImage rasterImage,
bool infoOnly
)
Public Function Read (
rasterImage As SbRasterImage,
infoOnly As Boolean
) As Boolean
public:
bool Read(
SbRasterImage^ rasterImage,
bool infoOnly
)
member Read :
rasterImage : SbRasterImage *
infoOnly : bool -> bool
Parameters
- rasterImage
- Type: OIV.Inventor.ImageSbRasterImage
- infoOnly
- Type: SystemBoolean
Return Value
Type:
Boolean
RemarksReturns true if successful. Call the open() 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