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
Special loader for resize picture content from concrete Version from native code. Important: Client should call dispose() for release special data at the end operation.
  • Constructor Details

  • Method Details

    • resizePicture

      public 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
    • resizePicture

      public 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
    • dispose

      public 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.