Image Viewer: Conversion from ASPX to HTML and TypeScript
The following table will help you to convert the ASPX elements that are related to image viewer control to HTML or TypeScript elements.
PXImageView
The following table shows the correspondence between the PXImageView element and the HTML or TypeScript elements. During the conversion of ASPX pages to HTML and TypeScript, you need to replace these ASPX elements with their analogs in HTML or TypeScript.
ASPX | HTML or TypeScript |
---|---|
PXImageView
|
Use the qp-image-view tag, as shown in the following code.
Alternatively, you can use the
field tag and specify qp-image-view as the
value of the control-type attribute, as shown in the following
code.
|
Height | Use the height attribute of the
qp-image-view tag.
|
Width | Use the width attribute of the
qp-image-view tag.
|