Class EmfPlusStringFormat
Namespace: Aspose.Imaging.FileFormats.Emf.EmfPlus.Objects
Assembly: Aspose.Imaging.dll (25.2.0)
The EmfPlusStringFormat object specifies text layout, display manipulations, and language identification
public sealed class EmfPlusStringFormat : EmfPlusGraphicsObjectType
Inheritance
object ← MetaObject ← EmfPlusObject ← EmfPlusGraphicsObjectType ← EmfPlusStringFormat
Inherited Members
EmfPlusGraphicsObjectType.Version, object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
EmfPlusStringFormat()
public EmfPlusStringFormat()
Properties
DigitLanguage
Gets or sets an EmfPlusLanguageIdentifier object that specifies the language to use for numeric digits in the string. For example, if this string contains Arabic digits, this field MUST contain a language identifier that specifies an Arabic language
public EmfPlusLanguageIdentifierType DigitLanguage { get; set; }
Property Value
DigitSubstitution
Gets or sets a 32-bit unsigned integer that specifies how to substitute numeric digits in the string according to a locale or language. This value MUST be defined in the StringDigitSubstitution enumeration (section 2.1.1.30).
public EmfPlusStringDigitSubstitution DigitSubstitution { get; set; }
Property Value
EmfPlusStringDigitSubstitution
FirstTabOffset
Gets or sets a 32-bit floating-point value that specifies the number of spaces between the beginning of a text line and the first tab stop
public float FirstTabOffset { get; set; }
Property Value
HotkeyPrefix
Gets or sets a 32-bit signed integer that specifies the type of processing that is performed on a string when a keyboard shortcut prefix (that is, an ampersand) is encountered. Basically, this field specifies whether to display keyboard shortcut prefixes that relate to text. The value MUST be defined in the HotkeyPrefix enumeration (section 2.1.1.14).
public EmfPlusHotkeyPrefix HotkeyPrefix { get; set; }
Property Value
Language
Gets or sets an EmfPlusLanguageIdentifier object (section 2.2.2.23) that specifies the language to use for the string
public EmfPlusLanguageIdentifierType Language { get; set; }
Property Value
LeadingMargin
Gets or sets a 32-bit floating-point value that specifies the length of the space to add to the starting position of a string. The default is 1/6 inch; for typographic fonts, the default value is 0.
public float LeadingMargin { get; set; }
Property Value
LineAlign
Gets or sets a 32-bit unsigned integer that specifies how to align the string vertically in the layout rectangle. This value MUST be defined in the StringAlignment enumeration.
public EmfPlusStringAlignment LineAlign { get; set; }
Property Value
RangeCount
Gets or sets a 32-bit signed integer that specifies the number of EmfPlusCharacterRange objects (section 2.2.2.8) defined in the StringFormatData field.
public int RangeCount { get; set; }
Property Value
StringAlignment
Gets or sets a 32-bit unsigned integer that specifies how to align the string horizontally in the layout rectangle. This value MUST be defined in the StringAlignment enumeration (section 2.1.1.29).
public EmfPlusStringAlignment StringAlignment { get; set; }
Property Value
StringFormatData
Gets or sets an EmfPlusStringFormatData object (section 2.2.2.44) that specifies optional text layout data.
public EmfPlusStringFormatData StringFormatData { get; set; }
Property Value
StringFormatFlags
Gets or sets a 32-bit unsigned integer that specifies text layout options for formatting, clipping and font handling. This value MUST be composed of StringFormat flags (section 2.1.2.8).
public EmfPlusStringFormatFlags StringFormatFlags { get; set; }
Property Value
TabstopCount
Gets or sets a 32-bit signed integer that specifies the number of tab stops defined in the StringFormatData field.
public int TabstopCount { get; set; }
Property Value
Tracking
Gets or sets a 32-bit floating-point value that specifies the ratio of the horizontal space allotted to each character in a specified string to the font-defined width of the character. Large values for this property specify ample space between characters; values less than 1 can produce character overlap. The default is 1.03; for typographic fonts, the default value is 1.00.
public float Tracking { get; set; }
Property Value
TrailingMargin
Gets or sets a 32-bit floating-point value that specifies the length of the space to leave following a string. The default is 1/6 inch; for typographic fonts, the default value is 0.
public float TrailingMargin { get; set; }
Property Value
Trimming
Gets or sets specifies how to trim characters from a string that is too large to fit into a layout rectangle. This value MUST be defined in the StringTrimming enumeration (section 2.1.1.31).
public EmfPlusStringTrimming Trimming { get; set; }