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
Constructor | Description |
---|---|
EmfGlsRecord(EmfRecord source) | Initializes a new instance of the EmfGlsRecord class. |
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
source | EmfRecord | The 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:
Parameter | Type | Description |
---|---|---|
value | int |
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:
Parameter | Type | Description |
---|---|---|
value | byte[] |