LEADTOOLS Image File Support (Leadtools.Codecs assembly)
LEAD Technologies, Inc

Document Property






Gets extra information about the image if the file is a document format. .NET support WinRT support
Syntax
public CodecsDocumentImageInfo Document {get;}
'Declaration
 
Public ReadOnly Property Document As CodecsDocumentImageInfo
'Usage
 
Dim instance As CodecsImageInfo
Dim value As CodecsDocumentImageInfo
 
value = instance.Document
public CodecsDocumentImageInfo Document {get;}
 get_Document(); 
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, DOC/DOCX(2007/2010), PPT/PPTX(2007/2010), XLS/XLSX(2007/2010), 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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CodecsImageInfo Class
CodecsImageInfo Members
CodecsDocumentImageInfo Class
CodecsRasterizeDocumentLoadOptions Class

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.