←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
Java
Objective-C
WinRT C#
C++
public AnnSizeMode PictureSizeMode { get; set; } 
Public Property PictureSizeMode As Leadtools.Annotations.Core.AnnSizeMode 
public Leadtools.Annotations.Core.AnnSizeMode PictureSizeMode {get; set;} 
@property (nonatomic) LTAnnSizeMode pictureSizeMode; 
public AnnSizeMode getPictureSizeMode() 
public void setPictureSizeMode(AnnSizeMode sizeMode) 
             
  
get_PictureSizeMode(); 
set_PictureSizeMode(value); 
Object.defineProperty('PictureSizeMode');  
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Core Assembly