public final class EmfPlusSetTsGraphics extends EmfPlusTerminalServerRecordType
The EmfPlusSetTSGraphics record specifies the state of a graphics device context for a terminal server.
Constructor and Description |
---|
EmfPlusSetTsGraphics(EmfPlusRecord source)
Initializes a new instance of the
EmfPlusSetTsGraphics class. |
Modifier and Type | Method and Description |
---|---|
byte |
getAntiAliasMode()
Gets or sets an 8-bit unsigned integer that specifies the quality of line rendering,
including the type of line anti-aliasing.
|
boolean |
getBasicVgaColors()
Gets a value indicating whether [basic vga colors].
|
byte |
getCompositingMode()
Gets or sets an 8-bit unsigned integer that specifies how source colors are
combined with background colors.
|
byte |
getCompositingQuality()
Gets or sets an 8-bit unsigned integer that specifies the degree of
smoothing to apply to lines, curves and the edges of filled areas to make them appear more
continuous or sharply defined.
|
byte |
getFilterType()
Gets or sets an 8-bit unsigned integer that specifies how scaling, including stretching
and shrinking, is performed.
|
boolean |
getHavePalette()
Gets a value indicating whether [have palette].
|
EmfPlusPalette |
getPalette()
Gets or sets an optional EmfPlusPalette object.
|
byte |
getPixelOffset()
Gets or sets an 8-bit unsigned integer that specifies the overall quality of the image
and text-rendering process.
|
short |
getRenderOriginX()
Gets or sets a 16-bit signed integer, which is the horizontal coordinate of the
origin for rendering halftoning and dithering matrixes.
|
short |
getRenderOriginY()
Gets or sets a 16-bit signed integer, which is the vertical coordinate of the origin
for rendering halftoning and dithering matrixes.
|
short |
getTextContrast()
Gets or sets a 16-bit unsigned integer that specifies the gamma correction value
used for rendering anti-aliased and ClearType text.
|
byte |
getTextRenderHint()
Gets or sets an 8-bit unsigned integer that specifies the quality of text
rendering, including the type of text anti-aliasing.
|
Matrix |
getWorldToDevice()
Gets or sets an 192-bit EmfPlusTransformMatrix object (section 2.2.2.47) that
specifies the world space to device space transforms.
|
void |
setAntiAliasMode(byte value)
Gets or sets an 8-bit unsigned integer that specifies the quality of line rendering,
including the type of line anti-aliasing.
|
void |
setCompositingMode(byte value)
Gets or sets an 8-bit unsigned integer that specifies how source colors are
combined with background colors.
|
void |
setCompositingQuality(byte value)
Gets or sets an 8-bit unsigned integer that specifies the degree of
smoothing to apply to lines, curves and the edges of filled areas to make them appear more
continuous or sharply defined.
|
void |
setFilterType(byte value)
Gets or sets an 8-bit unsigned integer that specifies how scaling, including stretching
and shrinking, is performed.
|
void |
setPalette(EmfPlusPalette value)
Gets or sets an optional EmfPlusPalette object.
|
void |
setPixelOffset(byte value)
Gets or sets an 8-bit unsigned integer that specifies the overall quality of the image
and text-rendering process.
|
void |
setRenderOriginX(short value)
Gets or sets a 16-bit signed integer, which is the horizontal coordinate of the
origin for rendering halftoning and dithering matrixes.
|
void |
setRenderOriginY(short value)
Gets or sets a 16-bit signed integer, which is the vertical coordinate of the origin
for rendering halftoning and dithering matrixes.
|
void |
setTextContrast(short value)
Gets or sets a 16-bit unsigned integer that specifies the gamma correction value
used for rendering anti-aliased and ClearType text.
|
void |
setTextRenderHint(byte value)
Gets or sets an 8-bit unsigned integer that specifies the quality of text
rendering, including the type of text anti-aliasing.
|
void |
setWorldToDevice(Matrix value)
Gets or sets an 192-bit EmfPlusTransformMatrix object (section 2.2.2.47) that
specifies the world space to device space transforms.
|
getDataSize, getFlags, getSize, getType, setDataSize, setFlags, setSize
public EmfPlusSetTsGraphics(EmfPlusRecord source)
Initializes a new instance of the EmfPlusSetTsGraphics
class.
source
- The source.public boolean getBasicVgaColors()
Gets a value indicating whether [basic vga colors]. If set, the palette contains only the basic VGA colors.
Value:true
if [basic vga colors]; otherwise, false
.public boolean getHavePalette()
Gets a value indicating whether [have palette]. If set, this record contains an EmfPlusPalette object (section 2.2.2.28) in the Palette field following the graphics state data.
Value:true
if [have palette]; otherwise, false
.public byte getAntiAliasMode()
Gets or sets an 8-bit unsigned integer that specifies the quality of line rendering, including the type of line anti-aliasing. It MUST be defined in the SmoothingMode enumeration (section 2.1.1.28).
Value: The anti alias mode.public void setAntiAliasMode(byte value)
Gets or sets an 8-bit unsigned integer that specifies the quality of line rendering, including the type of line anti-aliasing. It MUST be defined in the SmoothingMode enumeration (section 2.1.1.28).
Value: The anti alias mode.public byte getTextRenderHint()
Gets or sets an 8-bit unsigned integer that specifies the quality of text rendering, including the type of text anti-aliasing. It MUST be defined in the TextRenderingHint enumeration (section 2.1.1.32).
Value: The text render hint.public void setTextRenderHint(byte value)
Gets or sets an 8-bit unsigned integer that specifies the quality of text rendering, including the type of text anti-aliasing. It MUST be defined in the TextRenderingHint enumeration (section 2.1.1.32).
Value: The text render hint.public byte getCompositingMode()
Gets or sets an 8-bit unsigned integer that specifies how source colors are combined with background colors. It MUST be a value in the CompositingMode enumeration (section 2.1.1.5).
Value: The compositing mode.public void setCompositingMode(byte value)
Gets or sets an 8-bit unsigned integer that specifies how source colors are combined with background colors. It MUST be a value in the CompositingMode enumeration (section 2.1.1.5).
Value: The compositing mode.public byte getCompositingQuality()
Gets or sets an 8-bit unsigned integer that specifies the degree of smoothing to apply to lines, curves and the edges of filled areas to make them appear more continuous or sharply defined. It MUST be a value in the CompositingQuality enumeration (section 2.1.1.6).
Value: The compositing quality.public void setCompositingQuality(byte value)
Gets or sets an 8-bit unsigned integer that specifies the degree of smoothing to apply to lines, curves and the edges of filled areas to make them appear more continuous or sharply defined. It MUST be a value in the CompositingQuality enumeration (section 2.1.1.6).
Value: The compositing quality.public short getRenderOriginX()
Gets or sets a 16-bit signed integer, which is the horizontal coordinate of the origin for rendering halftoning and dithering matrixes.
Value: The render origin x.public void setRenderOriginX(short value)
Gets or sets a 16-bit signed integer, which is the horizontal coordinate of the origin for rendering halftoning and dithering matrixes.
Value: The render origin x.public short getRenderOriginY()
Gets or sets a 16-bit signed integer, which is the vertical coordinate of the origin for rendering halftoning and dithering matrixes.
Value: The render origin y.public void setRenderOriginY(short value)
Gets or sets a 16-bit signed integer, which is the vertical coordinate of the origin for rendering halftoning and dithering matrixes.
Value: The render origin y.public short getTextContrast()
Gets or sets a 16-bit unsigned integer that specifies the gamma correction value used for rendering anti-aliased and ClearType text. This value MUST be in the range 0 to 12, inclusive.
Value: The text contrast.public void setTextContrast(short value)
Gets or sets a 16-bit unsigned integer that specifies the gamma correction value used for rendering anti-aliased and ClearType text. This value MUST be in the range 0 to 12, inclusive.
Value: The text contrast.public byte getFilterType()
Gets or sets an 8-bit unsigned integer that specifies how scaling, including stretching and shrinking, is performed. It MUST be a value in the FilterType enumeration (section 2.1.1.11).
Value: The type of the filter.public void setFilterType(byte value)
Gets or sets an 8-bit unsigned integer that specifies how scaling, including stretching and shrinking, is performed. It MUST be a value in the FilterType enumeration (section 2.1.1.11).
Value: The type of the filter.public byte getPixelOffset()
Gets or sets an 8-bit unsigned integer that specifies the overall quality of the image and text-rendering process. It MUST be a value in the PixelOffsetMode enumeration (section 2.1.1.26).
Value: The pixel offset.public void setPixelOffset(byte value)
Gets or sets an 8-bit unsigned integer that specifies the overall quality of the image and text-rendering process. It MUST be a value in the PixelOffsetMode enumeration (section 2.1.1.26).
Value: The pixel offset.public Matrix getWorldToDevice()
Gets or sets an 192-bit EmfPlusTransformMatrix object (section 2.2.2.47) that specifies the world space to device space transforms.
Value: The world to device.public void setWorldToDevice(Matrix value)
Gets or sets an 192-bit EmfPlusTransformMatrix object (section 2.2.2.47) that specifies the world space to device space transforms.
Value: The world to device.public EmfPlusPalette getPalette()
Gets or sets an optional EmfPlusPalette object.
Value: The palette.public void setPalette(EmfPlusPalette value)
Gets or sets an optional EmfPlusPalette object.
Value: The palette.