Class WmfSetRop2

Class WmfSetRop2

Namespace: Aspose.Imaging.FileFormats.Wmf.Objects
Assembly: Aspose.Imaging.dll (25.7.0)

The set rop2

public class WmfSetRop2 : WmfObject
   {
       private const int tag = 0x34;
       private WmfBrush brush;
       private WmfRegion region;
       private BrushStyles brushStyle;
       private RasterOperations rop;
       public WmfSetRop2(WmfBrush brush, WmfRegion region, BrushStyles brushStyle, RasterOperations rop)
       {
           this.brush = brush;
           this.region = region;
           this.brushStyle = brushStyle;
           this.rop = rop;
       }
       public override void Execute(Graphics graphics)
       {
           graphics.SetRop(this.rop);
           if (this.brush != null)
               this.brush.Execute(graphics);
           if (this.region != null)
               this.region.Execute(graphics);
       }
   }

Inheritance

object MetaObject WmfObject WmfSetRop2

Inherited Members

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

WmfSetRop2()

public WmfSetRop2()
   {
   }

Properties

DrawMode

Gets or sets the draw mode.

public WmfBinaryRasterOperation DrawMode
   {
      get;
      set;
   }

Property Value

WmfBinaryRasterOperation

Reserved

Gets or sets the reserved.

public int Reserved
   {
      get;
      set;
   }

Property Value

int

 English