EmfLineTo Class

Summary: The EMR_LINETO record specifies a line from the current position up to, but not including, the
specified point.It resets the current position to the specified point.

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

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

Inheritance: EmfRecord

Aspose.Imaging Version: 24.6.0

Constructors

NameDescription
EmfLineTo()Initializes a new instance of the EmfLineTo class.
EmfLineTo(record)Initializes a new instance of the EmfLineTo class.

Properties

NameTypeAccessDescription
pointPointr/wGets or sets 64-bit WMF PointL object, specified in [MS-WMF] section 2.2.2.15,
which specifies the coordinates of the line’s ending point.
sizeintr/wGets or sets the size of the record
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: EmfLineTo()

 EmfLineTo() 

Initializes a new instance of the EmfLineTo class.

Constructor: EmfLineTo(record)

 EmfLineTo(record) 

Initializes a new instance of the EmfLineTo class.

Parameters:

ParameterTypeDescription
recordEmfRecordThe record.

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