Class EmfSetArcDirection

Class EmfSetArcDirection

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

The EMR_SETARCDIRECTION record specifies the drawing direction to be used for arc and rectangle output.

public sealed class EmfSetArcDirection : EmfStateRecordType
   {
       public EmfSetArcDirection() : base(EmfStateRecordType.EMF_SETARCDIR)
       {
       }
       public EmfSetArcDirection(EmfStateRecordType type, int startAngle, int endAngle, bool clockwise) : base(type)
       {
           StartAngle = startAngle;
           EndAngle = endAngle;
           Clockwise = clockwise;
       }
       public int StartAngle { get; set; }
       public int EndAngle { get; set; }
       public bool Clockwise { get; set; }
   }

Inheritance

object MetaObject EmfRecord EmfStateRecordType EmfSetArcDirection

Inherited Members

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

Remarks

The EMR_SETARCDIRECTION record affects the direction in which the following records draw:

  • EMR_ARC (section 2.3.5.2)
  • EMR_ARCTO (section 2.3.5.3)
  • EMR_CHORD (section 2.3.5.4)
  • EMR_ELLIPSE (section 2.3.5.5)
  • EMR_PIE (section 2.3.5.15)
  • EMR_RECTANGLE (section 2.3.5.34)
  • EMR_ROUNDRECT (section 2.3.5.35)

Constructors

EmfSetArcDirection(EmfRecord)

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

public void EmfSetArcDirection(Aspose.Words.EmfRecord source)
   {
   }

Parameters

source EmfRecord

The source.

EmfSetArcDirection()

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

public EmfSetArcDirection()
   {
   }

Properties

ArcDirection

Gets or sets a 32-bit unsigned integer that specifies the arc direction. The valueMUST be in the ArcDirection enumeration (section 2.1.2).The default direction is counterclockwise.

public EmfArcDirection ArcDirection
    {
        get;
        set;
    }

Property Value

EmfArcDirection

 English