←Select platform

Document Property

Summary

Gets extra information about the image if the file is a document format.

Syntax
C#
VB
Objective-C
C++
Java
public CodecsDocumentImageInfo Document { get; } 
Public ReadOnly Property Document As CodecsDocumentImageInfo 
@property (nonatomic, strong, readonly) LTCodecsDocumentImageInfo *document 
public CodecsDocumentImageInfo getDocument() 
public: 
property CodecsDocumentImageInfo^ Document { 
   CodecsDocumentImageInfo^ get(); 
} 

Property Value

A CodecsDocumentImageInfo object containing the document format information such as its logical size.

Remarks

LEADTOOLS provides support for loading a document as a raster image. Documents formats such as PDF, XPS, DOCX/DOC, PPTX/PPT, XLSS/XLS, RTF and Text do not contain physical width, height or resolution. It is up to the loader (in this case, the RasterCodecs object) to specify the transformation from logical coordinates to physical pixels through a process called rasterization. For more information, refer to CodecsRasterizeDocumentLoadOptions.

The CodecsDocumentImageInfo class contains properties that specify the original document logical size on disk. This can be useful when calculating the rasterization parameters based on your application viewing needs.

Example

For an example, refer to CodecsDocumentImageInfo.

Requirements

Target Platforms

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

Leadtools.Codecs Assembly