Class EmfRoundRect
Namespace: Aspose.Imaging.FileFormats.Emf.Emf.Records
Assembly: Aspose.Imaging.dll (25.7.0)
The EMR_ROUNDRECT record specifies a rectangle with rounded corners. The rectangle is outlinedby using the current pen and filled by using the current brush.
public sealed class EmfRoundRect : EmfDrawingRecordType
{
public int left { get; set; }
public int top { get; set; }
public int right { get; set; }
public int bottom { get; set; }
public int width EllipseWidth { get; set; }
public int height EllipseHeight { get; set; }
}
Here is the reformatted version:
public sealed class EmfRoundRect : EmfDrawingRecordType
{
public int Left { get; set; }
public int Top { get; set; }
public int Right { get; set; }
public int Bottom { get; set; }
public int Width_EllipseWidth { get; set; }
public int Height_EllipseHeight { get; set; }
}
Inheritance
object ← MetaObject ← EmfRecord ← EmfDrawingRecordType ← EmfRoundRect
Inherited Members
EmfRecord.Type , EmfRecord.Size , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
EmfRoundRect(EmfRecord)
Initializes a new instance of the Aspose.Imaging.FileFormats.Emf.Emf.Records.EmfRoundRect class.
public EmfRoundRect(EmfRecord source)
{
}
Parameters
source
EmfRecord
The source.
EmfRoundRect()
Initializes a new instance of the Aspose.Imaging.FileFormats.Emf.Emf.Records.EmfRoundRect class.
public EmfRoundRect()
{
}
Properties
Box
Gets or sets a 128-bit WMF RectL object, specified in [MS-WMF] section 2.2.2.19, whichspecifies the inclusive-inclusive rectangle to draw.
public Rectangle Box
{
get;
set;
}
Property Value
Corner
Gets or sets a 64-bit WMF SizeL object, specified in [MS-WMF] section 2.2.2.22, whichspecifies the width and height, in logical coordinates, of the ellipse used to draw the rounded corners.
public Size Corner
{
get;
set;
}