EmfPaintRgn 类

Summary: The EMR_PAINTRGN record paints the specified region by using the brush currently selected into the
playback device context.

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

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

Inheritance: EmfDrawingRecordType

Constructors

Name描述
EmfPaintRgn()初始化 EmfPaintRgn 类的新实例。
EmfPaintRgn(source)初始化 EmfPaintRgn 类的新实例。

Properties

NameTypeAccess描述
boundsRectangler/w获取或设置一个 128 位 WMF RectL 对象,在 [MS-WMF] 第 2.2.2.19 节中指定,
该对象指定边界矩形。
rgn_dataEmfRegionDatar/w获取或设置一个 RgnDataSize 长度的字节数组,用于指定 RegionData(第
2.2.24 节)对象,单位为逻辑单位。
rgn_data_sizeintr/w获取或设置一个 32 位无符号整数,指定区域数据的大小(以字节为单位)。
sizeintr/w获取或设置记录的大小
typeEmfRecordTyper/w获取或设置类型。

Methods

Name描述
create_from_record(source)初始化 EmfRecord 类的新实例。
create_from_type(type)初始化 EmfRecord 类的新实例。

Constructor: EmfPaintRgn()

 EmfPaintRgn() 

初始化 EmfPaintRgn 类的新实例。

Constructor: EmfPaintRgn(source)

 EmfPaintRgn(source) 

初始化 EmfPaintRgn 类的新实例。

Parameters:

参数TypeDescription
sourceEmfRecord来源。

Method: create_from_record(source) [static]

 create_from_record(source) 

初始化 EmfRecord 类的新实例。

Parameters:

参数TypeDescription
sourceEmfRecord来源。

Returns

TypeDescription
EmfRecord

Method: create_from_type(type) [static]

 create_from_type(type) 

初始化 EmfRecord 类的新实例。

Parameters:

参数TypeDescription
typeEmfRecordType记录类型。

Returns

TypeDescription
EmfRecord