Classe ImageCreatorsRegistry

Summary: Represents the image creators registry.

Module: aspose.imaging

Full Name: aspose.imaging.ImageCreatorsRegistry

Properties

NameTypeAccessDescription
registered_descriptors [static]IImageCreatorDescriptor[]rObtient les descripteurs enregistrés.
registered_formats [static]FileFormatrObtient les formats de création d’image enregistrés.

Methods

NameDescription
create_first_supported_creator(image_options)Crée le premier créateur trouvé adapté à la spécification.
get_first_supported_descriptor(image_options)Obtient le premier descripteur pris en charge trouvé adapté à la spécification.
register(image_creator_descriptor)Enregistre le descripteur de créateur d’image spécifié.
register_creator(creator_descriptor)Enregistre le créateur.
unregister_creator(creator_descriptor)Désenregistre le créateur.

Method: create_first_supported_creator(image_options) [static]

 create_first_supported_creator(image_options) 

Crée le premier créateur trouvé adapté à la spécification.

Parameters:

ParamètreTypeDescription
image_optionsImageOptionsBaseLes options d’image.

Returns

TypeDescription
IImageCreatorLe créateur qui prend en charge le spécifié ou null si aucun créateur de ce type n’est trouvé.

Method: get_first_supported_descriptor(image_options) [static]

 get_first_supported_descriptor(image_options) 

Obtient le premier descripteur pris en charge trouvé adapté à la spécification.

Parameters:

ParamètreTypeDescription
image_optionsImageOptionsBaseLes options d’image.

Returns

TypeDescription
IImageCreatorDescriptorLe descripteur de créateur qui prend en charge le spécifié ou null si aucun descripteur de ce type n’est trouvé.

Method: register(image_creator_descriptor) [static]

 register(image_creator_descriptor) 

Enregistre le descripteur de créateur d’image spécifié.

Parameters:

ParamètreTypeDescription
image_creator_descriptorIImageCreatorDescriptorLe descripteur de créateur d’image.

Method: register_creator(creator_descriptor) [static]

 register_creator(creator_descriptor) 

Enregistre le créateur.

Parameters:

ParamètreTypeDescription
creator_descriptorIImageCreatorDescriptorLe descripteur de créateur à enregistrer.

Method: unregister_creator(creator_descriptor) [static]

 unregister_creator(creator_descriptor) 

Désenregistre le créateur.

Parameters:

ParamètreTypeDescription
creator_descriptorIImageCreatorDescriptorLe descripteur de créateur.