EmfGlsBoundedRecord

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 EmfGlsBoundedRecord extends EmfOpenGlRecordType

The EMR_GLSBOUNDEDRECORD record specifies an OpenGL function with a bounding rectangle for output.

Constructors

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

Methods

MethodDescription
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.
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.
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.

EmfGlsBoundedRecord(EmfRecord source)

public EmfGlsBoundedRecord(EmfRecord source)

Initializes a new instance of the EmfGlsBoundedRecord class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

getBounds()

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.

Returns: Rectangle

setBounds(Rectangle value)

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.

Parameters:

ParameterTypeDescription
valueRectangle

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[]