isResolutionsSupported Property

Summary

Gets a value indicating whether this document supports loading images using different resolutions.

Syntax

JavaScript Syntax
Object.defineProperty(DocumentImages.prototype, 'isResolutionsSupported', 
	get: function() 
) 
TypeScript Syntax
isResolutionsSupported: boolean; // read-only 

Property Value

true if this document supports loading images using different resolutions (DPI); otherwise, false.

Remarks

You can use the GetImageUrl or GetImageElement methods to obtain the raster image version of a page. If supported, the value of Resolution can change to get the image at any resolution.

Document format types such as Microsoft Word and Adobe Acrobat do not contain a physical pixel size and can be loaded at any resolution value such as 72, 96, 150, 200, 300, 600 etc. You can use the Resolution property to load the raster image at any desired value. Raster format types such as TIFF, PNG and JPEG have physical size and can only be loaded at that specific size (user can re-size them later or change the resolution value if desired).

IsResolutionsSupported determines whether the current Document supports loading the image at different resolutions (is a document format type) and will return true for Word or PDF documents and false for TIFF, PNG and JPEG images.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents Assembly