LEADTOOLS Image File Support (Leadtools.Codecs assembly)

CodecsRasterizeDocumentUnit Enumeration

Show in webframe







Specifies the unit of a document page width, height or margins.
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  

            
public enum CodecsRasterizeDocumentUnit
Leadtools.Codecs.CodecsRasterizeDocumentUnit = function() { };
Leadtools.Codecs.CodecsRasterizeDocumentUnit.prototype = {
Pixel = 0, Inch = 1, Millimeter = 2, };
public enum class CodecsRasterizeDocumentUnit : public System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
Members
ValueMemberDescription
0Pixel

The page width, height or margins are in pixels.

1Inch

The page width, height or margins are in inches.

2Millimeter

The page width, height or margins are in millimeters.

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

See Also

Reference

Leadtools.Codecs Namespace
CodecsDocumentImageInfo Class
CodecsRasterizeDocumentLoadOptions Class

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.