LEADTOOLS Image File Support (Leadtools.Codecs assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Document Property
See Also 
Leadtools.Codecs Namespace > CodecsImageInfo Class : Document Property



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

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property Document As CodecsDocumentImageInfo
Visual Basic (Usage)Copy Code
Dim instance As CodecsImageInfo
Dim value As CodecsDocumentImageInfo
 
value = instance.Document
C# 
public CodecsDocumentImageInfo Document {get;}
C++/CLI 
public:
property CodecsDocumentImageInfo^ Document {
   CodecsDocumentImageInfo^ get();
}

Property Value

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

Example

For an example, refer to CodecsDocumentImageInfo.

Remarks

LEADTOOLS provides support for loading a document as a raster image. Documents formats such as PDF, XPS, 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.

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also