public final class EmfPlusSetTextContrast extends EmfPlusPropertyRecordType
The EmfPlusSetTextContrast record specifies text contrast according to the gamma correction value.
Constructor and Description |
---|
EmfPlusSetTextContrast(EmfPlusRecord source)
Initializes a new instance of the
EmfPlusSetTextContrast class. |
Modifier and Type | Method and Description |
---|---|
short |
getTextContrast()
Gets or sets the gamma correction value X 1000, which will be applied to
subsequent text rendering operations.
|
void |
setTextContrast(short value)
Gets or sets the gamma correction value X 1000, which will be applied to
subsequent text rendering operations.
|
getDataSize, getFlags, getSize, getType, setDataSize, setFlags, setSize
public EmfPlusSetTextContrast(EmfPlusRecord source)
Initializes a new instance of the EmfPlusSetTextContrast
class.
source
- The source.public short getTextContrast()
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.
com.aspose.ms.System.ArgumentOutOfRangeException
- value
Value:
The text contrast value.public void setTextContrast(short value)
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.
com.aspose.ms.System.ArgumentOutOfRangeException
- value
Value:
The text contrast value.