EmfPlusSetTextContrast Class

Summary: The EmfPlusSetTextContrast record specifies text contrast according to the gamma correction value.

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

Full Name: aspose.imaging.fileformats.emf.emfplus.records.EmfPlusSetTextContrast

Inheritance: EmfPlusPropertyRecordType

Constructors

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

Properties

NameTypeAccessDescription
data_sizeintr/wGets or sets a 32-bit unsigned integer that MUST define the 32-bit–aligned number of
bytes of data in the RecordData field that follows. This number does not include the 12-byte record header.
flagsshortr/wGets or sets a 16-bit unsigned integer that contains information for some records on how
the operation is to be performed and on the structure of the record.
sizeintr/wGets or sets a 32-bit unsigned integer that specifies the 32-bit-aligned number of bytes
in the entire record, including the 12-byte record header and record-specific data.
text_contrastshortr/wGets or sets the gamma correction value X 1000, which will be applied to
subsequent text rendering operations. The allowable range is 1000 to 2200,
representing text gamma values of 1.0 to 2.2.
typeEmfPlusRecordTyperGets a 16-bit unsigned integer that identifies the record type.

Constructor: EmfPlusSetTextContrast(source)

 EmfPlusSetTextContrast(source) 

Initializes a new instance of the EmfPlusSetTextContrast class.

Parameters:

ParameterTypeDescription
sourceEmfPlusRecordThe source.