Class EmfPlusSetTextContrast
Namespace: Aspose.Imaging.FileFormats.Emf.EmfPlus.Records
Assembly: Aspose.Imaging.dll (25.4.0)
The EmfPlusSetTextContrast record specifies text contrast according to the gamma correction value.
public sealed class EmfPlusSetTextContrast : EmfPlusPropertyRecordType
Inheritance
object ← MetaObject ← EmfPlusRecord ← EmfPlusPropertyRecordType ← EmfPlusSetTextContrast
Inherited Members
EmfPlusRecord.Type , EmfPlusRecord.Flags , EmfPlusRecord.Size , EmfPlusRecord.DataSize , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
EmfPlusSetTextContrast(EmfPlusRecord)
Initializes a new instance of the Aspose.Imaging.FileFormats.Emf.EmfPlus.Records.EmfPlusSetTextContrast class.
public EmfPlusSetTextContrast(EmfPlusRecord source)
Parameters
source
EmfPlusRecord
The source.
Properties
TextContrast
Gets 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.
public short TextContrast { get; set; }
Property Value
Exceptions
value