EmfGlsRecord Class

Summary: The EMR_GLSRECORD record specifies an OpenGL function.

Module: aspose.imaging.fileformats.emf.emf.records

Full Name: aspose.imaging.fileformats.emf.emf.records.EmfGlsRecord

Inheritance: EmfOpenGlRecordType

Aspose.Imaging Version: 24.6.0

Constructors

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

Properties

NameTypeAccessDescription
cb_dataintr/wGets 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.
databyter/wGets or sets an optional array of bytes of cbData length that specifies data for the OpenGL function.
sizeintr/wGets or sets the size of the record
typeEmfRecordTyper/wGets or sets the type.

Methods

NameDescription
create_from_record(source)Initializes a new instance of the EmfRecord class.
create_from_type(type)Initializes a new instance of the EmfRecord class.

Constructor: EmfGlsRecord(source)

 EmfGlsRecord(source) 

Initializes a new instance of the EmfGlsRecord class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

Method: create_from_record(source) [static]

 create_from_record(source) 

Initializes a new instance of the EmfRecord class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

Returns

TypeDescription
EmfRecord

Method: create_from_type(type) [static]

 create_from_type(type) 

Initializes a new instance of the EmfRecord class.

Parameters:

ParameterTypeDescription
typeEmfRecordTypeThe record type.

Returns

TypeDescription
EmfRecord