EmfGlsRecord

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emf.records.EmfRecord, com.aspose.imaging.fileformats.emf.emf.records.EmfOpenGlRecordType

public final class EmfGlsRecord extends EmfOpenGlRecordType

The EMR_GLSRECORD record specifies an OpenGL function.

Constructors

ConstructorDescription
EmfGlsRecord(EmfRecord source)Initializes a new instance of the EmfGlsRecord class.

Methods

MethodDescription
getCbData()Gets or sets a 32-bit unsigned integer that specifies the size, in bytes, of the Data field.
setCbData(int value)Gets or sets a 32-bit unsigned integer that specifies the size, in bytes, of the Data field.
getData()Gets or sets an optional array of bytes of cbData length that specifies data for the OpenGL function.
setData(byte[] value)Gets or sets an optional array of bytes of cbData length that specifies data for the OpenGL function.

EmfGlsRecord(EmfRecord source)

public EmfGlsRecord(EmfRecord source)

Initializes a new instance of the EmfGlsRecord class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

getCbData()

public int getCbData()

Gets or sets a 32-bit unsigned integer that specifies the size, in bytes, of the Data field. If this value is zero, no data is attached to this record.

Returns: int

setCbData(int value)

public void setCbData(int value)

Gets or sets a 32-bit unsigned integer that specifies the size, in bytes, of the Data field. If this value is zero, no data is attached to this record.

Parameters:

ParameterTypeDescription
valueint

getData()

public byte[] getData()

Gets or sets an optional array of bytes of cbData length that specifies data for the OpenGL function.

Returns: byte[]

setData(byte[] value)

public void setData(byte[] value)

Gets or sets an optional array of bytes of cbData length that specifies data for the OpenGL function.

Parameters:

ParameterTypeDescription
valuebyte[]