Class EmfTransparentBlt

EmfTransparentBlt class

The EMR_TRANSPARENTBLT record specifies a block transfer of pixels from a source bitmap to a destination rectangle, treating a specified color as transparent, stretching or compressing the output to fit the dimensions of the destination, if necessary

public sealed class EmfTransparentBlt : EmfBitmapRecordType

Constructors

NameDescription
EmfTransparentBlt(EmfRecord)Initializes a new instance of the EmfTransparentBlt class.

Properties

NameDescription
Bounds { get; set; }Gets or sets a WMF RectL object ([MS-WMF] section 2.2.2.19) that defines the destination bounding rectangle in device units.
CxDest { get; set; }Gets or sets a 32-bit signed integer that specifies the logical width of the destination rectangle.
CxSrc { get; set; }Gets or sets a 32-bit signed integer that specifies the logical width of the source rectangle.
CyDest { get; set; }Gets or sets a 32-bit signed integer that specifies the logical height of the destination rectangle.
CySrc { get; set; }Gets or sets a 32-bit signed integer that specifies the logical height of the source rectangle.
Size { get; set; }Gets or sets the size of the record
SourceBitmap { get; set; }Gets or sets a buffer containing the source bitmap, which is not required to be contiguous with the fixed portion of the EMR_TRANSPARENTBLT record. Accordingly, fields in this buffer that are labeled “UndefinedSpace” are optional and MUST be ignored.
SrcBkArgb32Color { get; set; }Gets or sets a WMF ColorRef object that specifies the background color of the source bitmap.
TransparentArgb32Color { get; set; }Gets or sets a WMF ColorRef object ([MS-WMF] section 2.2.2.8) that specifies the color in the source bitmap to be treated as transparent.
Type { get; set; }Gets or sets the type.
UsageSrc { get; set; }Gets or sets a 32-bit unsigned integer that specifies how to interpret values in the color table in the source bitmap header. This value MUST be in the DIBColors enumeration (section 2.1.9)
XDest { get; set; }Gets or sets a 32-bit signed integer that specifies the logical x-coordinate of the upper-left corner of the destination rectangle.
XformSrc { get; set; }Gets or sets an XForm object (section 2.2.28) that specifies a world-space to page-space transform to apply to the source bitmap.
XSrc { get; set; }Gets or sets a 32-bit signed integer that specifies the logical x-coordinate of the upper-left corner of the source rectangle.
YDest { get; set; }Gets or sets a 32-bit signed integer that specifies the logical y-coordinate of the upper-left corner of the destination rectangle.
YSrc { get; set; }Gets or sets a 32-bit signed integer that specifies the logical y-coordinate of the upper-left corner of the source rectangle.

See Also