Class EmfPlusTextureBrushOptionalData

Class EmfPlusTextureBrushOptionalData

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

he EmfPlusTextureBrushOptionalData object specifies optional data for a texture brush.

public sealed class EmfPlusTextureBrushOptionalData : EmfPlusStructureObjectType
    {
        public BrushType BrushType;
        public ushort Reserved1;
        public uint TextureHandle;
        public int RectangleSize;
        public byte[] Data;
        public uint Reserved2;
    }

Inheritance

object MetaObject EmfPlusObject EmfPlusStructureObjectType EmfPlusTextureBrushOptionalData

Inherited Members

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

Remarks

Note Each field of this object is optional and might not be present in the OptionalData field of anEmfPlusTextureBrushData object (section 2.2.2.45), depending on the BrushData flags(section2.1.2.1) set in its BrushDataFlags field.Although it is not practical to represent every possiblecombination of fields present or absent, this section specifies their relative order in the object. Theimplementer is responsible for determining which fields are actually present in a given metafilerecord, and for unmarshaling the data for individual fields separately and appropriately.

Constructors

EmfPlusTextureBrushOptionalData()

public EmfPlusTextureBrushOptionalData()
   {
   }

Properties

ImageObject

Gets or sets an optional EmfPlusImage object (section 2.2.1.4) that specifies thebrush texture. This field MUST be present if the size of theEmfPlusObject record (section 2.3.5.1) that defines this texturebrush is large enough to accommodate an EmfPlusImage object inaddition to the required fields of the EmfPlusTextureBrushData objectand optionally an EmfPlusTransformMatrix object.

public EmfPlusImage ImageObject
    {
        get;
        set;
    }

Property Value

EmfPlusImage

TransformMatrix

Gets or sets an optional EmfPlusTransformMatrix object (section 2.2.2.47)that specifies a world space to device space transform for thetexture brush. This field MUST be present if the BrushDataTransformflag is set in the BrushDataFlags field of the EmfPlusTextureBrushData object.

public Matrix TransformMatrix
    {
        get;
        set;
    }

Property Value

Matrix

 English