SoOffscreenRendererWriteToJPEGBuffer Method |
Writes the JPEG compression stream to a buffer.
Namespace: OIV.InventorAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.36.0 (9.9.36.0)
Syntaxpublic bool WriteToJPEGBuffer(
float quality
)
Public Function WriteToJPEGBuffer (
quality As Single
) As Boolean
public:
bool WriteToJPEGBuffer(
float quality
)
member WriteToJPEGBuffer :
quality : float32 -> bool
Parameters
- quality
- Type: SystemSingle
Buffer quality expressed between 0 and 1.
Return Value
Type:
Boolean
Returns
is the buffer is successfully written,
otherwise.
ExceptionsException | Condition |
---|
[!:System.ArgumentException] |
If quality is not between [0,1].
|
Remarks
See Also