2022 April Release

Control COOATTREDIT@1.1:CTRLPict Permanent link for this heading

This control is used to display, upload and edit pictures. The control uses as basis CTRLEditImage (only for internal use). Cannot be used in aggregates.

COOATTREDIT@1.1:CTRLPict(
  string DavUrl,
  string FriendlyUrl,
  string FallbackUrl,
  integer MaxWidth,
  integer MaxHeight,
  boolean NoBorder,
  boolean ShowButtonText,
  boolean EnableDelete,
  boolean EnableSelect,
  boolean EnableObjectSelect,
  boolean EnableEdit,
  integer SelectionX,
  integer SelectionY,
  integer SelectionW,
  integer SelectionH,
  boolean SelectionFixedRatio,
  boolean SelectionAllowResize,
  object StrSelectImageTitle,
  object StrSelectImageHeader,
  object StrSelectImageObject,
  object StrSelectImageFile,
  object StrSelectDescription,
  object StrEditImageTitle,
  object EditVAPP,
  object SelectVAPP,
  integer DiagTypeModel,
  integer DiagTypePresentation,
  string DescriptionText,
  string Hyperlink,
  boolean NoCacheCleanUp)

Name

Description

DavUrl

This WebDAV URL defines the content of the picture. <%object%> can be used as a replacement character for the address of the current object.

FriendlyUrl

Display a picture identified by a friendly URL.

FallbackUrl

A friendly URL identifying a fallback picture.

MaxWidth

Defines the maximum width of the preview picture (not relevant for the picture editing view).

MaxHeight

Defines the maximum height of the preview picture (not relevant for the picture editing view).

NoBorder

Do not use an picture border. The default value is false.

ShowButtonText

If true, the button symbol and button text is displayed. Otherwise only the symbol is displayed. The default value is true.

EnableDelete

Show a delete branch for picture deletion. The default value is false.

EnableSelect

Show a select branch for picture selection. The default value is true.

EnableObjectSelect

EnableEdit

Show an edit branch for picture editing. The default value is false. Additional control arguments influencing this application branch are described in the following paragraph.

SelectionX

On editing the picture, show a selection area starting at horizontal position X.

SelectionY

On editing the picture, show a selection area starting at vertical position Y.

SelectionW

On editing the picture, show a selection area having width W.

SelectionH

On editing the picture, show a selection area having height H.

SelectionFixedRatio

If true, the selection area width and height have a fixed ratio. The default value is false.

SelectionAllowResize

If true, resizing the selection width and height is allowed. The default value is true.

StrSelectImageTitle

COO-Address of String object which defines the selection VAPP title

StrSelectImageHeader

StrSelectImageObject

COO-Address of String object which defines the selection VAPP object field caption

StrSelectImageFile

COO-Address of String object which defines the selection VAPP content field caption

StrSelectDescription

COO-Address of String object which defines the selection VAPP description field content

StrEditImageTitle

COO-Address of String object which defines the editing VAPP title

EditVAPP

SelectVAPP

DiagTypeModel

DiagTypePresentation

DescriptionText

Defines a string that is displayed on the right side of the image.

Hyperlink

NoCacheCleanUp

Cache won’t be deleted when the control is unloaded.

Additional Information