LEADTOOLS Image File Support (Leadtools.Codecs assembly)

CodecsVectorViewMode Enumeration

Show in webframe







Indicates the view mode for rasterizing a vector image.
Syntax
public enum CodecsVectorViewMode : System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
'Declaration
 
Public Enum CodecsVectorViewMode 
   Inherits System.Enum
   Implements System.IComparableSystem.IConvertibleSystem.IFormattable 
'Usage
 
Dim instance As CodecsVectorViewMode
public enum CodecsVectorViewMode : System.IComparableSystem.IConvertibleSystem.IFormattable  

            

            
Leadtools.Codecs.CodecsVectorViewMode = function() { };
Leadtools.Codecs.CodecsVectorViewMode.prototype = {
UseBest = 0x00000000, UseWidthAndHeight = 0x00000001, UseWidth = 0x00000002, UseHeight = 0x00000003, };
public enum class CodecsVectorViewMode : public System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
Members
ValueMemberDescription
0x00000000UseBestFit the drawing into the specified CodecsVectorLoadOptions.ViewWidth and CodecsVectorLoadOptions.ViewHeight. Final image size is less than or equal to the viewport size.
0x00000001UseWidthAndHeightUse the specified CodecsVectorLoadOptions.ViewWidth. Calculate new height, preserving the aspect ratio. Final image size has the same width as the current CodecsVectorLoadOptions.ViewWidth, with the height less than or equal to the current CodecsVectorLoadOptions.ViewHeight.
0x00000002UseWidthUse the current CodecsVectorLoadOptions.ViewHeight. Calculate the new width, preserving the aspect ratio. Final image size has the same height as the current CodecsVectorLoadOptions.ViewHeight, with the width less than or equal to the current CodecsVectorLoadOptions.ViewWidth.
0x00000003UseHeightUse both the CodecsVectorLoadOptions.ViewWidth and the CodecsVectorLoadOptions.ViewHeight (stretch image if necessary). Final image size has the same width and height as the current viewport size.
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Codecs.CodecsVectorViewMode

Requirements

Target Platforms

See Also

Reference

Leadtools.Codecs Namespace

 

 


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