EmfFrameRgn Class

Summary: The EMR_FRAMERGN record draws a border around the specified region using the specified brush.

Module: aspose.imaging.fileformats.emf.emf.records

Full Name: aspose.imaging.fileformats.emf.emf.records.EmfFrameRgn

Inheritance: EmfDrawingRecordType

Aspose.Imaging Version: 24.5.0

Constructors

NameDescription
EmfFrameRgn()Initializes a new instance of the EmfFrameRgn class.
EmfFrameRgn(source)Initializes a new instance of the EmfFrameRgn class.

Properties

NameTypeAccessDescription
boundsRectangler/wGets or sets 128-bit WMF RectL object, specified in [MS-WMF] section 2.2.2.19, which
specifies the bounding rectangle.
heightintr/wGets or sets a 32-bit signed integer that specifies the height of the horizontal brush
stroke, in logical units.
ih_brushintr/wGets or sets a 32-bit unsigned integer that specifies the brush EMF Object Table index.
rgn_dataEmfRegionDatar/wGets or sets a RgnDataSize length array of bytes that specifies a RegionData object,
in logical units
rgn_data_sizeintr/wGets or sets a 32-bit unsigned integer that specifies the size of region data, in bytes.
sizeintr/wGets or sets the size of the record
typeEmfRecordTyper/wGets or sets the type.
widthintr/wGets or sets a 32-bit signed integer that specifies the width of the vertical brush stroke, in logical units.

Methods

NameDescription
create_from_record(source)Initializes a new instance of the EmfRecord class.
create_from_type(type)Initializes a new instance of the EmfRecord class.

Constructor: EmfFrameRgn()

 EmfFrameRgn() 

Initializes a new instance of the EmfFrameRgn class.

Constructor: EmfFrameRgn(source)

 EmfFrameRgn(source) 

Initializes a new instance of the EmfFrameRgn class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

Method: create_from_record(source) [static]

 create_from_record(source) 

Initializes a new instance of the EmfRecord class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

Returns

TypeDescription
EmfRecord

Method: create_from_type(type) [static]

 create_from_type(type) 

Initializes a new instance of the EmfRecord class.

Parameters:

ParameterTypeDescription
typeEmfRecordTypeThe record type.

Returns

TypeDescription
EmfRecord