ImageExportersRegistry

Inheritance: java.lang.Object

public final class ImageExportersRegistry

يمثل سجل مصدري الصور.

الطرق

طريقةالوصف
getRegisteredFormats()يحصل على صيغ التصدير المسجلة.
getRegisteredExporterDescriptors()يحصل على أوصاف المصدر المسجلة.
register(IImageExporterDescriptor exporterDescriptor)يسجل وصف مصدر الصورة المحدد.
getFirstSupportedDescriptor(Image image, ImageOptionsBase options)يحصل على أول وصف مدعوم تم العثور عليه مناسب لخيارات الحفظ المحددة والصورة.
createFirstSupportedExporter(Image image, ImageOptionsBase options)ينشئ أول مصدر تم العثور عليه مناسب لخيارات الحفظ المحددة والصورة.
registerExporter(IImageExporterDescriptor exporterDescriptor)يسجل المصدر.
unregisterExporter(IImageExporterDescriptor exporterDescriptor)يلغي تسجيل المصدر.

getRegisteredFormats()

public static long getRegisteredFormats()

يحصل على صيغ التصدير المسجلة.

القيمة: صيغ التصدير المسجلة.

Returns: long

getRegisteredExporterDescriptors()

public static IImageExporterDescriptor[] getRegisteredExporterDescriptors()

يحصل على أوصاف المصدر المسجلة.

القيمة: أوصاف المصدر المسجلة.

Returns: com.aspose.imaging.IImageExporterDescriptor[]

register(IImageExporterDescriptor exporterDescriptor)

public static void register(IImageExporterDescriptor exporterDescriptor)

يسجل وصف مصدر الصورة المحدد.

Parameters:

معاملنوعالوصف
exporterDescriptorIImageExporterDescriptorوصف مصدر الصورة.

getFirstSupportedDescriptor(Image image, ImageOptionsBase options)

public static IImageExporterDescriptor getFirstSupportedDescriptor(Image image, ImageOptionsBase options)

يحصل على أول وصف مدعوم تم العثور عليه مناسب لخيارات الحفظ المحددة والصورة.

Parameters:

معاملنوعالوصف
imageImageالصورة المراد تصديرها.
optionsImageOptionsBase

وصف المصدر الأول سيكون في الواقع الأخير المسجل. |

Returns: IImageExporterDescriptor - The exporter descriptor which supports the specified image and save options or null if no such descriptor is found.

createFirstSupportedExporter(Image image, ImageOptionsBase options)

public static IImageExporter createFirstSupportedExporter(Image image, ImageOptionsBase options)

ينشئ أول مصدر تم العثور عليه مناسب لخيارات الحفظ المحددة والصورة.

Parameters:

معاملنوعالوصف
imageImageالصورة المراد تصديرها.
optionsImageOptionsBase

المصدر الأول سيكون في الواقع الأخير المسجل. |

Returns: IImageExporter - The exporter which supports the specified image and save options or null if no such exporter is found.

registerExporter(IImageExporterDescriptor exporterDescriptor)

public static void registerExporter(IImageExporterDescriptor exporterDescriptor)

يسجل المصدر.

Parameters:

معاملنوعالوصف
exporterDescriptorIImageExporterDescriptorوصف المصدر للتسجيل.

unregisterExporter(IImageExporterDescriptor exporterDescriptor)

public static void unregisterExporter(IImageExporterDescriptor exporterDescriptor)

يلغي تسجيل المصدر.

Parameters:

معاملنوعالوصف
exporterDescriptorIImageExporterDescriptorوصف المصدر لإلغاء التسجيل.