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

CodecsRasterizeDocumentUnit Enumeration






Specifies the unit of a document page width, height or margins. .NET support WinRT support
Syntax
public enum CodecsRasterizeDocumentUnit : System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
'Declaration
 
Public Enum CodecsRasterizeDocumentUnit 
   Inherits System.Enum
   Implements System.IComparableSystem.IConvertibleSystem.IFormattable 
'Usage
 
Dim instance As CodecsRasterizeDocumentUnit
public enum CodecsRasterizeDocumentUnit : System.IComparableSystem.IConvertibleSystem.IFormattable  
Leadtools.Codecs.CodecsRasterizeDocumentUnit = function() { };
Leadtools.Codecs.CodecsRasterizeDocumentUnit.prototype = {
LeadtoolsMemberMarker(replace me) };
public enum class CodecsRasterizeDocumentUnit : public System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
Members
MemberDescription
Inch

The page width, height or margins are in inches.

Millimeter

The page width, height or margins are in millimeters.

Pixel

The page width, height or margins are in pixels.

Remarks

The CodecsRasterizeDocumentUnit is used to specify the unit of a document page width, height or margins. By using this enumeration, you can define document (logical) sizes in pixels, inches or millimeters.

The CodecsRasterizeDocumentUnit enumeration is used as the value for the following class members:

Class Member Units
CodecsDocumentImageInfo.Unit

As the units for CodecsDocumentImageInfo.PageWidth and CodecsDocumentImageInfo.PageHeight

CodecsRasterizeDocumentLoadOptions.Unit

As the units for CodecsRasterizeDocumentLoadOptions.PageWidth, CodecsRasterizeDocumentLoadOptions.PageHeight, CodecsRasterizeDocumentLoadOptions.LeftMargin, CodecsRasterizeDocumentLoadOptions.TopMargin, CodecsRasterizeDocumentLoadOptions.RightMargin and CodecsRasterizeDocumentLoadOptions.BottomMargin

Example
For an example, refer to CodecsPdfOptions.
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Codecs.CodecsRasterizeDocumentUnit

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

Leadtools.Codecs Namespace
CodecsDocumentImageInfo Class
CodecsRasterizeDocumentLoadOptions Class

 

 


Products | Support | Contact Us | Copyright Notices

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