setPNGDataSrc Method

Summary

Loads the lossless compressed data into the frame.

Syntax
TypeScript
JavaScript
Frame.prototype.setPNGDataSrc = function( 
   src, 
   width, 
   height 
) 
setPNGDataSrc( 
   src: string, 
   width: number, 
   height: number 
): void; 

Parameters

src

The address of the lossless compressed data.

width

The width of the image.

height

The height of the image.

Remarks

This downloads the full image data, but in a compressed lossless form, for faster download.

To retrieve the png data address, refer to PNGDataSrc.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls.Medical Assembly