EmfChord Class

Summary: The EMR_CHORD record specifies a chord, which is a region bounded by the intersection of an
ellipse and a line segment, called a secant. The chord is outlined by using the current pen and filled
by using the current brush.

Module: aspose.imaging.fileformats.emf.emf.records

Full Name: aspose.imaging.fileformats.emf.emf.records.EmfChord

Inheritance: EmfDrawingRecordType

Constructors

NameDescription
EmfChord()Initializes a new instance of the EmfChord class.
EmfChord(source)Initializes a new instance of the EmfChord class.

Properties

NameTypeAccessDescription
boxRectangler/wGets or sets a 128-bit WMF RectL object, specified in [MS-WMF] section 2.2.2.19, which
specifies the inclusive-inclusive bounding rectangle.
endPointr/wGets or sets a 64-bit WMF PointL object that specifies the logical coordinates of the
endpoint of the radial defining the end of the chord.
sizeintr/wGets or sets the size of the record
startPointr/wGets or sets a 64-bit WMF PointL object, specified in [MS-WMF] section 2.2.2.15, which
specifies the logical coordinates of the endpoint of the radial defining the beginning of the chord.
typeEmfRecordTyper/wGets or sets the type.

Methods

NameDescription
create_from_record(source)Initializes a new instance of the EmfRecord class.
create_from_type(type)Initializes a new instance of the EmfRecord class.

Constructor: EmfChord()

 EmfChord() 

Initializes a new instance of the EmfChord class.

Constructor: EmfChord(source)

 EmfChord(source) 

Initializes a new instance of the EmfChord class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

Method: create_from_record(source) [static]

 create_from_record(source) 

Initializes a new instance of the EmfRecord class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

Returns

TypeDescription
EmfRecord

Method: create_from_type(type) [static]

 create_from_type(type) 

Initializes a new instance of the EmfRecord class.

Parameters:

ParameterTypeDescription
typeEmfRecordTypeThe record type.

Returns

TypeDescription
EmfRecord