EmfGradientRectangle

EmfGradientRectangle class

The GradientRectangle object defines a rectangle using TriVertex objects (section 2.2.26) in an EMR_GRADIENTFILL record (section 2.3.5.12).

public sealed class EmfGradientRectangle : EmfObject

Constructors

NameDescription
EmfGradientRectangle()The default constructor.

Properties

NameDescription
LowerRight { get; set; }Gets or sets an index into an array of TriVertex objects that specifies the lower-right vertex of a rectangle. The index MUST be smaller than the size of the array, as defined by the nVer field of the EMR_GRADIENTFILL record.
UpperLeft { get; set; }Gets or sets an index into an array of TriVertex objects that specifies the upper-left vertex of a rectangle. The index MUST be smaller than the size of the array, as defined by the nVer field of the EMR_GRADIENTFILL record.

See Also