EmfResizePalette Class

Summary: The EMR_RESIZEPALETTE record increases or decreases the size of an existing LogPalette object (section 2.2.17).

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

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

Inheritance: EmfObjectManipulationRecordType

Constructors

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

Properties

NameTypeAccessDescription
ih_palintr/wGets or sets a 32-bit unsigned integer that specifies the index of the palette object in the
EMF Object Table (section 3.1.1.1).
sizeintr/wGets or sets the size of the record
typeEmfRecordTyper/wGets or sets the type.

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: EmfResizePalette(source)

 EmfResizePalette(source) 

Initializes a new instance of the EmfResizePalette 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