Error processing SSI file
LEADTOOLS Leadtools.Documents (Leadtools.Documents assembly)

Show in webframe

IsResolutionsSupported Property






Determine whether this document supports loading images using different resolutions.
Syntax
public virtual bool IsResolutionsSupported {get;}
'Declaration
 
Public Overridable ReadOnly Property IsResolutionsSupported As Boolean
'Usage
 
Dim instance As DocumentImages
Dim value As Boolean
 
value = instance.IsResolutionsSupported
public boolean isResolutionsSupported()
            
public:
virtual property bool IsResolutionsSupported {
   bool get();
}

Property Value

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

You can use the DocumentPage.GetImage(resolution) method to obtain the raster image version of a page. This method accepts a resolution property that can be used to get the image at any resolution if supported.

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 DocumentPage.GetImage(resolution) 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 using the RasterCodecs object).

IsResolutionsSupported determine 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.

If IsResolutionsSupported is false, then the value of resolution passed to DocumentPage.GetImage(resolution) is ignored.

Example

For an example, refer to DocumentPage.GetImage(resolution).

Requirements

Target Platforms

See Also

Reference

DocumentImages Class
DocumentImages Members

Error processing SSI file
   Leadtools.Documents requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features