Class EmfSetTextJustification

Class EmfSetTextJustification

Namespace: Aspose.Imaging.FileFormats.Emf.Emf.Records
Assembly: Aspose.Imaging.dll (25.7.0)

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

public sealed class EmfSetTextJustification : EmfStateRecordType
   {
       public EmfSetTextJustification()
           : base(0x2a)
       {
       }
       public EmfSetTextJustification(short x, short y, TextAlignment horizontalAlignment, TextAlignment verticalAlignment)
           : this()
       {
           X = x;
           Y = y;
           HorizontalAlignment = horizontalAlignment;
           VerticalAlignment = verticalAlignment;
       }
       public short X { get; set; }
       public short Y { get; set; }
       public TextAlignment HorizontalAlignment { get; set; }
       public TextAlignment VerticalAlignment { get; set; }
   }

Inheritance

object MetaObject EmfRecord EmfStateRecordType EmfSetTextJustification

Inherited Members

EmfRecord.Type , EmfRecord.Size , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Remarks

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

Constructors

EmfSetTextJustification(EmfRecord)

Initializes a new instance of the Aspose.Imaging.FileFormats.Emf.Emf.Records.EmfSetTextJustification class.

public EmfSetTextJustification(EmfRecord source)
   {
   }

Parameters

source EmfRecord

The source.

Properties

NBreakCount

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

public int NBreakCount
   {
      get;
      set;
   }

Property Value

int

NBreakExtra

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

public int NBreakExtra
   {
      get;
      set;
   }

Property Value

int

 English