Table of Contents

Class WmfSetDibToDev

Namespace
Aspose.Imaging.FileFormats.Wmf.Objects
Assembly
Aspose.Imaging.dll

The META_SETDIBTODEV record sets a block of pixels in the playback device context using device-independent color data. The source of the color data is a DIB.

public class WmfSetDibToDev : WmfObject
Inheritance
WmfSetDibToDev
Inherited Members

Constructors

WmfSetDibToDev()

public WmfSetDibToDev()

Properties

ColorUsage

Gets or sets the color usage.

public WmfColorUsageEnum ColorUsage { get; set; }

Property Value

WmfColorUsageEnum

The Colors field of the DIB contains explicit RGB values or indexes into a palette. This MUST be one of the values in the ColorUsage Enumeration (section 2.1.1.6).

DestPos

Gets or sets the dest position.

public Point DestPos { get; set; }

Property Value

Point

The coordinates, in logical units, of the upper-left corner of the destination rectangle.

Dib

Gets or sets the dib.

public WmfDeviceIndependentBitmap Dib { get; set; }

Property Value

WmfDeviceIndependentBitmap

y-coordinate, in logical units, of the upper-left corner of the destination rectangle.

DibPos

Gets or sets the dib position.

public Point DibPos { get; set; }

Property Value

Point

The coordinates, in logical units, of the source rectangle.

Height

Gets or sets the height.

public int Height { get; set; }

Property Value

int

The height, in logical units, of the source and destination rectangles.

ScanCount

Gets or sets the scan count.

public int ScanCount { get; set; }

Property Value

int

The the number of scan lines in the source.

StartScan

Gets or sets the start scan.

public int StartScan { get; set; }

Property Value

int

The starting scan line in the source.

Width

Gets or sets the width.

public int Width { get; set; }

Property Value

int

The width, in logical units, of the source and destination rectangles.