Article Details
Id:21277
Product:finPOWER Connect
Type:NEW
Version:4.01.00
Opened:06/03/2024
Closed:13/03/2024
Released:29/04/2024
Job: J033026

Document Bookmark Images; added option to specify the image width

Document Bookmark images can now optionally specify both the height and width of an image - previously only the height could be specified.

Where only a Height or Width is specified the image is resized preserving the height to width ratio. When both Height and Width are specified the image is resized and may stretch and distort the image.

The following Document Bookmarks can now include Height.

  • Branch.Logo
  • Branch.Logo2
  • Branch.ResourceLogo
  • Branch.ResourceOther
  • Entity.Logo
  • Entity.Logo2
  • Entity.ResourceLogo
  • Entity.ResourceOther

To use add a colon to the bookmark, optionally height, a comma, then the width.

For example:

  • Logo – height =100
    • [Branch.Logo:100]
  • Logo – width=100
    • [Branch.Logo:,100]
  • Logo – height =100, width = 100
    • [Branch.Logo:100,100]

The following Business Layer functions have been updated:

  • ISWordDocumentBookmark
    • SetContentImageByteArray
      • Now has optional widthPoints
      • Alternative function signature with "size" string - "height,width", e.g. 100,100.
    • SetContentImageFileName
      • Now has optional widthPoints
      • Alternative function signature with "size" string - "height,width", e.g. 100,100.