Class EmfStretchBlt

Class EmfStretchBlt

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

The EMR_STRETCHBLT record specifies a block transfer of pixels from a source bitmap to a destination rectangle, optionally in combination with a brush pattern, according to a specified raster operation, stretching or compressing the output to fit the dimensions of the destination, if necessary.

public sealed class EmfStretchBlt : EmfBitmapRecordType

Inheritance

objectMetaObjectEmfRecordEmfBitmapRecordTypeEmfStretchBlt

Inherited Members

EmfRecord.Type, EmfRecord.Size, object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

EmfStretchBlt(EmfRecord)

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

public EmfStretchBlt(EmfRecord source)

Parameters

source EmfRecord

The source.

EmfStretchBlt()

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

public EmfStretchBlt()

Properties

Argb32BkColorSrc

Gets or sets a WMF ColorRef object ([MS-WMF] section 2.2.2.8 that specifies the background color of the source bitmap.

public int Argb32BkColorSrc { get; set; }

Property Value

int

BitBltRasterOperation

Gets or sets a 32-bit unsigned integer that specifies the raster operation code. This code defines how the color data of the source rectangle is to be combined with the color data of the destination rectangle and optionally a brush pattern, to achieve the final color

public WmfTernaryRasterOperation BitBltRasterOperation { get; set; }

Property Value

WmfTernaryRasterOperation

Bounds

Gets or sets a WMF RectL object ([MS-WMF] section 2.2.2.19) that defines the destination bounding rectangle in device units.

public Rectangle Bounds { get; set; }

Property Value

Rectangle

CxDest

Gets or sets a 32-bit signed integer that specifies the logical width of the destination rectangle.

public int CxDest { get; set; }

Property Value

int

CxSrc

Gets or sets a 32-bit signed integer that specifies the logical width of the source rectangle.

public int CxSrc { get; set; }

Property Value

int

CyDest

Gets or sets a 32-bit signed integer that specifies the logical height of the destination rectangle.

public int CyDest { get; set; }

Property Value

int

CySrc

Gets or sets a 32-bit signed integer that specifies the logical height of the source rectangle.

public int CySrc { get; set; }

Property Value

int

DestRect

Gets or sets the dest rect.

public Rectangle DestRect { get; set; }

Property Value

Rectangle

SourceBitmap

Gets or sets a buffer containing the source bitmap, which is not required to be contiguous with the fixed portion of the EMR_STRETCHBLT record. Accordingly, fields in this buffer that are labeled “UndefinedSpace” are optional and MUST be ignored.

public WmfDeviceIndependentBitmap SourceBitmap { get; set; }

Property Value

WmfDeviceIndependentBitmap

SrcRect

Gets or sets the source rect.

public Rectangle SrcRect { get; set; }

Property Value

Rectangle

UsageSrc

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

public EmfDibColors UsageSrc { get; set; }

Property Value

EmfDibColors

XDest

Gets or sets a 32-bit signed integer that specifies the logical x-coordinate of the upper-left corner of the destination rectangle.

public int XDest { get; set; }

Property Value

int

XSrc

Gets or sets a 32-bit signed integer that specifies the logical x-coordinate of the upper-left corner of the source rectangle.

public int XSrc { get; set; }

Property Value

int

XformSrc

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.

public Matrix XformSrc { get; set; }

Property Value

Matrix

YDest

Gets or sets a 32-bit signed integer that specifies the logical y-coordinate of the upper-left corner of the destination rectangle.

public int YDest { get; set; }

Property Value

int

YSrc

Gets or sets a 32-bit signed integer that specifies the logical y-coordinate of the upper-left corner of the source rectangle.

public int YSrc { get; set; }

Property Value

int