←Select platform

CodecsRasterizeDocumentUnit Enumeration

Summary

Specifies the unit of a document page width, height or margins.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public enum CodecsRasterizeDocumentUnit   
Public Enum CodecsRasterizeDocumentUnit  
    
    
public enum CodecsRasterizeDocumentUnit    
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   

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.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly