Click or drag to resize
SoBufferObjectSetSize Method

Sets the size in bytes of the buffer object.

Namespace: OIV.Inventor.Devices
Assembly: OIV.Inventor.Base (in OIV.Inventor.Base.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public virtual bool SetSize(
	ulong size
)

Parameters

size
Type: SystemUInt64

The requested size in bytes.

Return Value

Type: Boolean

true if the operation was successful.

Remarks

If the requested size is the same as the current size, this method does nothing and returns true. If there is existing memory that is owned by the buffer object, that memory is released. If the requested size is zero, the buffer object is now empty.

See Also