Class EmfPlusSetTsGraphics

Class EmfPlusSetTsGraphics

Namespace: Aspose.Imaging.FileFormats.Emf.EmfPlus.Records
Assembly: Aspose.Imaging.dll (25.2.0)

The EmfPlusSetTSGraphics record specifies the state of a graphics device context for a terminal server.

public sealed class EmfPlusSetTsGraphics : EmfPlusTerminalServerRecordType

Inheritance

objectMetaObjectEmfPlusRecordEmfPlusTerminalServerRecordTypeEmfPlusSetTsGraphics

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

EmfPlusSetTsGraphics(EmfPlusRecord)

Initializes a new instance of the Aspose.Imaging.FileFormats.Emf.EmfPlus.Records.EmfPlusSetTsGraphics class.

public EmfPlusSetTsGraphics(EmfPlusRecord source)

Parameters

source EmfPlusRecord

The source.

Properties

AntiAliasMode

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).

public EmfPlusSmoothingMode AntiAliasMode { get; set; }

Property Value

EmfPlusSmoothingMode

BasicVgaColors

Gets a value indicating whether [basic vga colors]. If set, the palette contains only the basic VGA colors.

public bool BasicVgaColors { get; }

Property Value

bool

CompositingMode

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).

public EmfPlusCompositingMode CompositingMode { get; set; }

Property Value

EmfPlusCompositingMode

CompositingQuality

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).

public EmfPlusCompositingQuality CompositingQuality { get; set; }

Property Value

EmfPlusCompositingQuality

FilterType

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).

public EmfPlusFilterType FilterType { get; set; }

Property Value

EmfPlusFilterType

HavePalette

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.

public bool HavePalette { get; }

Property Value

bool

Palette

Gets or sets an optional EmfPlusPalette object.

public EmfPlusPalette Palette { get; set; }

Property Value

EmfPlusPalette

PixelOffset

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).

public EmfPlusPixelOffsetMode PixelOffset { get; set; }

Property Value

EmfPlusPixelOffsetMode

RenderOriginX

Gets or sets a 16-bit signed integer, which is the horizontal coordinate of the origin for rendering halftoning and dithering matrixes.

public short RenderOriginX { get; set; }

Property Value

short

RenderOriginY

Gets or sets a 16-bit signed integer, which is the vertical coordinate of the origin for rendering halftoning and dithering matrixes.

public short RenderOriginY { get; set; }

Property Value

short

TextContrast

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.

public short TextContrast { get; set; }

Property Value

short

TextRenderHint

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).

public EmfPlusTextRenderingHint TextRenderHint { get; set; }

Property Value

EmfPlusTextRenderingHint

WorldToDevice

Gets or sets an 192-bit EmfPlusTransformMatrix object (section 2.2.2.47) that specifies the world space to device space transforms.

public Matrix WorldToDevice { get; set; }

Property Value

Matrix