EmfSetTextJustification

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 EmfSetTextJustification extends EmfStateRecordType

The EMR_SETTEXTJUSTIFICATION record specifies the amount of extra space to add to break characters for text justification.

Instead of using an EMR_SETTEXTJUSTIFICATION record, an implementation SHOULD use an EMR_EXTTEXTOUTW record (section 2.3.5.8) to perform this function.

Constructors

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

Methods

MethodDescription
getNBreakExtra()Gets or sets a 32-bit signed integer that specifies the total amount of extra space, in logical units, to add.
setNBreakExtra(int value)Gets or sets a 32-bit signed integer that specifies the total amount of extra space, in logical units, to add.
getNBreakCount()Gets or sets a 32-bit signed integer that specifies the number of break characters.
setNBreakCount(int value)Gets or sets a 32-bit signed integer that specifies the number of break characters.

EmfSetTextJustification(EmfRecord source)

public EmfSetTextJustification(EmfRecord source)

Initializes a new instance of the EmfSetTextJustification class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

getNBreakExtra()

public int getNBreakExtra()

Gets or sets a 32-bit signed integer that specifies the total amount of extra space, in logical units, to add.

Returns: int

setNBreakExtra(int value)

public void setNBreakExtra(int value)

Gets or sets a 32-bit signed integer that specifies the total amount of extra space, in logical units, to add.

Parameters:

ParameterTypeDescription
valueint

getNBreakCount()

public int getNBreakCount()

Gets or sets a 32-bit signed integer that specifies the number of break characters.

Returns: int

setNBreakCount(int value)

public void setNBreakCount(int value)

Gets or sets a 32-bit signed integer that specifies the number of break characters.

Parameters:

ParameterTypeDescription
valueint