public final class EmfGlsBoundedRecord extends EmfOpenGlRecordType
The EMR_GLSBOUNDEDRECORD record specifies an OpenGL function with a bounding rectangle for output.
Constructor and Description |
---|
EmfGlsBoundedRecord(EmfRecord source)
Initializes a new instance of the
EmfGlsBoundedRecord class. |
Modifier and Type | Method and Description |
---|---|
Rectangle |
getBounds()
Gets or sets a WMF RectL object ([MS-WMF] section 2.2.2.19) that defines a bounding
rectangle, in device units, for output produced by executing the OpenGL function.
|
int |
getCbData()
Gets or sets a 32-bit unsigned integer that specifies the size, in bytes, of the Data field.
|
byte[] |
getData()
Gets or sets an optional array of bytes of cbData length that specifies data for the OpenGL function.
|
void |
setBounds(Rectangle value)
Gets or sets a WMF RectL object ([MS-WMF] section 2.2.2.19) that defines a bounding
rectangle, in device units, for output produced by executing the OpenGL function.
|
void |
setCbData(int value)
Gets or sets a 32-bit unsigned integer that specifies the size, in bytes, of the Data field.
|
void |
setData(byte[] value)
Gets or sets an optional array of bytes of cbData length that specifies data for the OpenGL function.
|
public EmfGlsBoundedRecord(EmfRecord source)
Initializes a new instance of the EmfGlsBoundedRecord
class.
source
- The source.public Rectangle getBounds()
Gets or sets a WMF RectL object ([MS-WMF] section 2.2.2.19) that defines a bounding rectangle, in device units, for output produced by executing the OpenGL function.
public void setBounds(Rectangle value)
Gets or sets a WMF RectL object ([MS-WMF] section 2.2.2.19) that defines a bounding rectangle, in device units, for output produced by executing the OpenGL function.
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.
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.
public byte[] getData()
Gets or sets an optional array of bytes of cbData length that specifies data for the OpenGL function.
public void setData(byte[] value)
Gets or sets an optional array of bytes of cbData length that specifies data for the OpenGL function.