Skip to content

MobileCRM.UI._DocumentView

Maros316 edited this page Aug 12, 2020 · 1 revision

MobileCRM.UI._DocumentView Object

Represents the document view object containing the attachment document (binary field content).

Properties

Property Type Description
isVisible Boolean Gets or sets whether the view is visible.
name String Gets the name of the view.
documentInfo _DocumentInfo Contains information about attached document.
fileName string Attached document file name".
isEmpty boolean Indicates whether the view is empty or whether user has already provided a document.
isReadOnly boolean Indicates whether the view is read-only.
mimeType string Attached document file MIME type.
inkTitle string Signature title.
saveSignatureAsImage boolean Signature save mode: image or SVG.
strokeWidth number Signature stroke width.
maxImageWidth number Maximum allowed image width. Zero or negative numbers stand for no preference.
maxImageHeight number Maximum allowed image height. Zero or negative numbers stand for no preference.
desiredRatio number Desired width/height ratio. Zero values stand for no preference. Negative ratio means that reverse ratio is also allowed (accepts both 4:3 and 3:4).
enforcementMode number Defines an action to take when image is included into ImageView (captured or selected from gallery). 0=NoEnforcement, 1=AutoCrop, 2=AutoResize, 3=AutoCrop&resize, 32768=OpenImageEditor.
Clone this wiki locally