EmfForceUfiMapping Class

Summary: The EMR_FORCEUFIMAPPING record forces the font mapper to match fonts based on their
UniversalFontId in preference to their LogFont (section 2.2.13) information.

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

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

Inheritance: EmfStateRecordType

Aspose.Imaging Version: 24.5.0

Constructors

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

Properties

NameTypeAccessDescription
sizeintr/wGets or sets the size of the record
typeEmfRecordTyper/wGets or sets the type.
ufiEmfUniversalFontIdr/wGets or sets the font id to use, specified as a UniversalFontId (section 2.2.27).

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: EmfForceUfiMapping(source)

 EmfForceUfiMapping(source) 

Initializes a new instance of the EmfForceUfiMapping 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