Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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();
}

Return 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: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also