←Select platform

CodecsRasterizeDocumentUnit Enumeration

Summary

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

Syntax
C#
VB
Objective-C
C++
Java
public enum CodecsRasterizeDocumentUnit   
Public Enum CodecsRasterizeDocumentUnit  
typedef NS_ENUM(NSInteger, LTCodecsRasterizeDocumentUnit) 
public enum CodecsRasterizeDocumentUnit 
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 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly