EmfForceUfiMapping

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emf.records.EmfRecord, com.aspose.imaging.fileformats.emf.emf.records.EmfStateRecordType

public final class EmfForceUfiMapping extends EmfStateRecordType

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.

Constructors

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

Methods

MethodDescription
getUfi()Gets or sets the font id to use, specified as a UniversalFontId (section 2.2.27).
setUfi(EmfUniversalFontId value)Gets or sets the font id to use, specified as a UniversalFontId (section 2.2.27).

EmfForceUfiMapping(EmfRecord source)

public EmfForceUfiMapping(EmfRecord source)

Initializes a new instance of the EmfForceUfiMapping class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

getUfi()

public EmfUniversalFontId getUfi()

Gets or sets the font id to use, specified as a UniversalFontId (section 2.2.27).

Returns: EmfUniversalFontId

setUfi(EmfUniversalFontId value)

public void setUfi(EmfUniversalFontId value)

Gets or sets the font id to use, specified as a UniversalFontId (section 2.2.27).

Parameters:

ParameterTypeDescription
valueEmfUniversalFontId