EmfPlusStringFormatData

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emfplus.objects.EmfPlusObject, com.aspose.imaging.fileformats.emf.emfplus.objects.EmfPlusStructureObjectType

public final class EmfPlusStringFormatData extends EmfPlusStructureObjectType

The EmfPlusStringFormatData object specifies tab stops and character positions for a graphics string.

Constructors

ConstructorDescription
EmfPlusStringFormatData()

Methods

MethodDescription
getTabStops()Gets or sets an optional array of floating-point values that specify the optional tab stop locations for this object.
setTabStops(float[] value)Gets or sets an optional array of floating-point values that specify the optional tab stop locations for this object.
getCharRange()Gets or sets an optional array of RangeCount EmfPlusCharacterRange objects that specify the range of character positions within a string of text.
setCharRange(EmfPlusCharacterRange[] value)Gets or sets an optional array of RangeCount EmfPlusCharacterRange objects that specify the range of character positions within a string of text.

EmfPlusStringFormatData()

public EmfPlusStringFormatData()

getTabStops()

public float[] getTabStops()

Gets or sets an optional array of floating-point values that specify the optional tab stop locations for this object. Each tab stop value represents the number of spaces between tab stops or, for the first tab stop, the number of spaces between the beginning of a line of text and the first tab stop. This field MUST be present if the value of the TabStopCount field in the EmfPlusStringFormat object is greater than 0.

Returns: float[]

setTabStops(float[] value)

public void setTabStops(float[] value)

Gets or sets an optional array of floating-point values that specify the optional tab stop locations for this object. Each tab stop value represents the number of spaces between tab stops or, for the first tab stop, the number of spaces between the beginning of a line of text and the first tab stop. This field MUST be present if the value of the TabStopCount field in the EmfPlusStringFormat object is greater than 0.

Parameters:

ParameterTypeDescription
valuefloat[]

getCharRange()

public EmfPlusCharacterRange[] getCharRange()

Gets or sets an optional array of RangeCount EmfPlusCharacterRange objects that specify the range of character positions within a string of text. The bounding region is defined by the area of the display that is occupied by a group of characters specified by the character range. This field MUST be present if the value of the RangeCount field in the EmfPlusStringFormat object is greater than 0.

Returns: com.aspose.imaging.fileformats.emf.emfplus.objects.EmfPlusCharacterRange[]

setCharRange(EmfPlusCharacterRange[] value)

public void setCharRange(EmfPlusCharacterRange[] value)

Gets or sets an optional array of RangeCount EmfPlusCharacterRange objects that specify the range of character positions within a string of text. The bounding region is defined by the area of the display that is occupied by a group of characters specified by the character range. This field MUST be present if the value of the RangeCount field in the EmfPlusStringFormat object is greater than 0.

Parameters:

ParameterTypeDescription
valueEmfPlusCharacterRange[]