Describes how content is resized to fill its allocated space.
public enum AnnStretch
Public Enum AnnStretch
Inherits System.Enum
Implements System.IComparable, System.IConvertible, System.IFormattable
public enum class AnnStretch : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Members
Value | Member | Description |
---|---|---|
0 | None |
The content preserves its original size. |
1 | Fill | (0x00000001)
The content is resized to fill the destination dimensions. The aspect ratio is not preserved. |
2 | Uniform |
The content is resized to fit in the destination dimensions while it preserves its native aspect ratio. |
3 | UniformToFill |
The content is resized to fill the destination dimensions while it preserves its native aspect ratio. If the aspect ratio of the destination rectangle differs from the source, the source content is clipped to fit in the destination dimensions. |
For C#/VB examples, refer to AnnPolygonObject.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET