فئة EmfPlusDrawDriverString
محتويات
[
يخفي
]Summary: The EmfPlusDrawDriverString record specifies text output with character positions.
Module: aspose.imaging.fileformats.emf.emfplus.records
Full Name: aspose.imaging.fileformats.emf.emfplus.records.EmfPlusDrawDriverString
Inheritance: EmfPlusDrawingRecordType
Constructors
| Name | الوصف |
|---|---|
| EmfPlusDrawDriverString(source) | ينشئ مثيلاً جديداً من الفئة EmfPlusDrawDriverString class. |
Properties
| Name | Type | Access | الوصف |
|---|---|---|---|
| brush_id | int | r/w | يحصل أو يضبط معرف الفرشاة A 32-bit unsigned integer that specifies either the foreground color of the text or a graphics brush, depending on the value of the S flag in the Flags |
| data_size | int | r/w | يحصل أو يعيّن عددًا صحيحًا غير موقع 32 بت يجب أن يحدد عدد البايتات المتوافقة مع 32 بت في حقل RecordData التالي. لا تشمل هذه العدد رأس السجل البالغ 12 بايت. |
| driver_string_options_flags | EmfPlusDriverStringOptionsFlags | r/w | يحصل أو يضبط أعلام خيارات سلسلة السائق A 32-bit unsigned integer that specifies the spacing, orientation, and quality of rendering for the string. |
| العلامات | int | r/w | يحصل أو يعيّن عددًا صحيحًا غير موقع 16 بت يحتوي على معلومات لبعض السجلات حول كيفية تنفيذ العملية وعلى بنية السجل. |
| glyph_count | int | r/w | يحصل أو يضبط عدد الرموز A 32-bit unsigned integer that specifies number of glyphs in the string |
| glyph_pos | PointF[] | r/w | يحصل أو يضبط مصفوفة مواضع الرموز An array of EmfPlusPointF objects (section 2.2.2.36) that specify the output position of each character glyph. There MUST be GlyphCount elements, which have a one-to-one correspondence with the elements in the Glyphs array. Glyph positions are calculated from the position of the first glyph if the DriverStringOptionsRealizedAdvance flag in DriverStringOptions flags is set. In this case, GlyphPos specifies the position of the first glyph only. |
| glyphs | int[] | r/w | يحصل أو يضبط مصفوفة الرموز An array of 16-bit values that define the text string to draw. If the DriverStringOptionsCmapLookup flag in the DriverStringOptionsFlags field is set, each value in this array specifies a Unicode character. Otherwise, each value specifies an index to a character glyph in the EmfPlusFont object specified by the ObjectId value in Flags field. |
| is_color | bool | r/w | يحصل أو يضبط قيمة تشير إلى ما إذا كان هذا المثيل لونيًا. This bit indicates the type of data in the BrushId field. If set, BrushId specifies the color value in an EmfPlusARGB object (section 2.2.2.1). If clear, BrushId contains the EMF+ Object Table index of an EmfPlusBrush object (section 2.1.1). |
| matrix_present | int | r/w | يحصل أو يضبط ما إذا كان علم وجود المصفوفة مفعلاً A 32-bit unsigned integer that specifies whether a transform matrix is present in the TransformMatrix field 0 - no matrix present. 1 - transform matrix is in TransformMatrix field |
| object_id | System.Byte | r/w | يحصل أو يضبط معرف الكائن. The EMF+ Object Table index of an EmfPlusFont object (section 2.2.1.3) to render the text. The value MUST be zero to 63, inclusive. |
| الحجم | int | r/w | يحصل أو يعيّن عددًا صحيحًا غير موقع 32 بت يحدد عدد البايتات المتوافقة مع 32 بت في السجل بالكامل، بما في ذلك رأس السجل البالغ 12 بايت والبيانات الخاصة بالسجل. |
| transform_matrix | Matrix | r/w | يحصل أو يضبط مصفوفة التحويل An optional EmfPlusTransformMatrix object (section 2.2.2.47) that specifies the transformation to apply to each value in the text array. The presence of this data is determined from the MatrixPresent field. |
| type | EmfPlusRecordType | r | يحصل على عدد صحيح غير موقع 16 بت يحدد نوع السجل. |
Constructor: EmfPlusDrawDriverString(source)
EmfPlusDrawDriverString(source)
ينشئ مثيلاً جديداً من الفئة EmfPlusDrawDriverString class.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| source | EmfPlusRecord | المصدر. |