Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.8.30
|
Leadtools.Codecs Namespace : CodecsVectorViewMode Enumeration |
public enum CodecsVectorViewMode : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
'Declaration
Public Enum CodecsVectorViewMode Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
'Usage
Dim instance As CodecsVectorViewMode
public enum CodecsVectorViewMode : System.IComparable, System.IConvertible, System.IFormattable
public enum CodecsVectorViewMode
Leadtools.Codecs.CodecsVectorViewMode = function() { }; Leadtools.Codecs.CodecsVectorViewMode.prototype = {<br/> UseBest = 0, UseWidthAndHeight = 1, UseWidth = 2, UseHeight = 3, };
public enum class CodecsVectorViewMode : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Value | Member | Description |
---|---|---|
0 | UseBest | Fit the drawing into the specified CodecsVectorLoadOptions.ViewWidth and CodecsVectorLoadOptions.ViewHeight. Final image size is less than or equal to the viewport size. |
1 | UseWidthAndHeight | 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. |
2 | UseWidth | 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. |
3 | UseHeight | 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. |
System.Object
System.ValueType
System.Enum
Leadtools.Codecs.CodecsVectorViewMode