Class PictureNativeManagerLoader
- java.lang.Object
- 
- com._1c.g5.v8.dt.natives.library.AbstractScomConnectionLoader
- 
- com.e1c.g5.v8.dt.picturenative.common.PictureNativeManagerLoader
 
 
- 
 public class PictureNativeManagerLoader extends AbstractScomConnectionLoader 
- 
- 
Field Summary- 
Fields inherited from class com._1c.g5.v8.dt.natives.library.AbstractScomConnectionLoaderLD_LIBRARY_PATH, version
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedPictureNativeManagerLoader(String id, Version version, IProcessManager processManager, IResolvableRuntimeInstallationManager resolvableRuntimeInstallationManager)Constructor.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispose()Releases special data.byte[]resizePicture(byte[] content, long width, long height)Resizes picture content with stretch mode.voidresizePicture(AbsPicture picture, long width, long height)Resizes absolute picture with stretch mode.- 
Methods inherited from class com._1c.g5.v8.dt.natives.library.AbstractScomConnectionLoadergetLibraries, getMessageException, getProcessEnvironments, getRuntimeInstallation, getSystemLibraries
 
- 
 
- 
- 
- 
Constructor Detail- 
PictureNativeManagerLoaderprotected PictureNativeManagerLoader(String id, Version version, IProcessManager processManager, IResolvableRuntimeInstallationManager resolvableRuntimeInstallationManager) Constructor.- Parameters:
- id- unique id for creating infrastructure, cannot be- null
- version- actual- Version, cannot be- null
- processManager- actual- IProcessManager, cannot be- null
- resolvableRuntimeInstallationManager- actual- IResolvableRuntimeInstallationManager, cannot be- null
 
 
- 
 - 
Method Detail- 
resizePicturepublic void resizePicture(AbsPicture picture, long width, long height) Resizes absolute picture with stretch mode.- Parameters:
- picture- absolute picture, cannot be- null
- width- new width
- height- new height
 
 - 
resizePicturepublic byte[] resizePicture(byte[] content, long width, long height)Resizes picture content with stretch mode.- Parameters:
- content- picture content, cannot be- null
- width- new width
- height- new height
- Returns:
- resized absolute picture content, never null
 
 - 
disposepublic void dispose() Releases special data. You should call this method if you have no plans to soon use methods from this class. Attention! Client shouldn't call it after each call of methods from this class.
 
- 
 
-