←Select platform

CodecsVectorViewMode Enumeration

Summary
Indicates the view mode for rasterizing a vector image.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public enum CodecsVectorViewMode   
typedef NS_ENUM(NSInteger, LTCodecsVectorViewMode) { 
 LTCodecsVectorViewModeUseBest,  
 LTCodecsVectorViewModeUseWidthAndHeight,  
 LTCodecsVectorViewModeUseWidth,  
 LTCodecsVectorViewModeUseHeight 
}; 
public enum CodecsVectorViewMode 
public enum class CodecsVectorViewMode   
class CodecsVectorViewMode(Enum): 
   UseBest = 0 
   UseWidthAndHeight = 1 
   UseWidth = 2 
   UseHeight = 3 
Members
ValueMemberDescription
0UseBest Fit the drawing into the specified CodecsVectorLoadOptions.ViewWidth and CodecsVectorLoadOptions.ViewHeight. Final image size is less than or equal to the viewport size.
1UseWidthAndHeight Use 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.
2UseWidth Use 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.
3UseHeight Use 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.
Requirements

Target Platforms

See Also

Reference

Leadtools.Codecs Namespace

Help Version 22.0.2023.5.5
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.