public 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, getFirstFlagByte_internalized, getFlagBit_internalized, getFlags, getLastFlagByte_internalized, getObjectId_internalized, getSize, getType, setDataSize, setFirstFlagByte_internalized, setFlagBit_internalized, setFlags, setLastFlagByte_internalized, setObjectId_internalized, setSize, setType_internalized
deepClone_internalized
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.Copyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.