←Select platform

Document Property

Summary

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

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public CodecsDocumentImageInfo Document { get; } 
Public ReadOnly Property Document As Leadtools.Codecs.CodecsDocumentImageInfo 
@property (nonatomic, strong, readonly) LTCodecsDocumentImageInfo *document 
public CodecsDocumentImageInfo getDocument() 
 get_Document();  

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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly