Class EmfRectangle
The EMR_RECTANGLE record draws a rectangle. The rectangle is outlined by using the current pen and filled by using the current brush.
public sealed class EmfRectangle : EmfDrawingRecordType
- Inheritance
-
EmfRectangle
- Inherited Members
Remarks
The current position is neither used nor updated by Rectangle. If a PS_NULL pen is used, the dimensions of the rectangle are 1 pixel less in height and 1 pixel less in width.
Constructors
EmfRectangle()
Initializes a new instance of the EmfRectangle class.
public EmfRectangle()
- See Also
EmfRectangle(EmfRecord)
Initializes a new instance of the EmfRectangle class.
public EmfRectangle(EmfRecord source)
Parameters
source
EmfRecordThe source.
- See Also
Properties
Box
Gets or sets a 128-bit WMF RectL object, specified in [MS-WMF] section 2.2.2.19, which specifies the inclusive-inclusive rectangle to draw.
public Rectangle Box { get; set; }
Property Value
- See Also