←Select platform

PictureSizeMode Property

Summary

Gets or sets a value that controls how the picture is rendered inside the bounding rectangle of this object.

Syntax
C#
VB
Objective-C
C++
Java
public AnnSizeMode PictureSizeMode { get; set; } 
Public Property PictureSizeMode As AnnSizeMode 
@property (nonatomic) LTAnnSizeMode pictureSizeMode; 
public AnnSizeMode getPictureSizeMode() 
public void setPictureSizeMode(AnnSizeMode sizeMode) 
public:  
   property AnnSizeMode^ PictureSizeMode 
   { 
      AnnSizeMode^ get() 
      void set(AnnSizeMode^ value) 
   } 

Property Value

A value that controls how the picture is rendered inside the bounding rectangle of this object. Default value is AnnSizeMode.Stretch.

Remarks

Use this value to control how the image set in Picture is rendered inside the bounding rectangle of this object. The default value of AnnSizeMode.Stretch will cause the picture to always fill the bounding rectangle without keeping the original aspect ratio. A value of AnnSizeMode.Normal will cause the picture to be rendered inside the object keeping the original size and aspect ratio.

Requirements

Target Platforms

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

Leadtools.Annotations.Engine Assembly