Error processing SSI file
LEADTOOLS Image File Support (Leadtools.Codecs assembly)

Show in webframe

CodecsRasterizeDocumentUnit Enumeration








Specifies the unit of a document page width, height or margins.
Syntax
public enum CodecsRasterizeDocumentUnit : System.Enum, System.IComparable, System.IConvertible, System.IFormattable  
'Declaration
 
Public Enum CodecsRasterizeDocumentUnit 
   Inherits System.Enum
   Implements System.IComparable, System.IConvertible, System.IFormattable 
'Usage
 
Dim instance As CodecsRasterizeDocumentUnit
public enum CodecsRasterizeDocumentUnit : System.IComparable, System.IConvertible, System.IFormattable  
typedef NS_ENUM(NSInteger, LTCodecsRasterizeDocumentUnit)
public enum CodecsRasterizeDocumentUnit
Leadtools.Codecs.CodecsRasterizeDocumentUnit = function() { };
Leadtools.Codecs.CodecsRasterizeDocumentUnit.prototype = {<br/>
  Pixel = 0,
	Inch = 1,
	Millimeter = 2,
	
 };
public enum class CodecsRasterizeDocumentUnit : public System.Enum, System.IComparable, System.IConvertible, System.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

Error processing SSI file