setPNGDataSrc Method

Summary

Loads the lossless compressed data into the frame.

Syntax

JavaScript Syntax
Frame.prototype.setPNGDataSrc = function( 
   src, 
   width, 
   height 
) 
TypeScript Syntax
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 19.0.2017.10.18
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls.Medical Assembly