pictureSizeMode Property

Summary

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

Syntax
TypeScript
JavaScript
Object.defineProperty(AnnStampObject.prototype, 'pictureSizeMode', 
	get: function(), 
	set: function(value) 
) 
pictureSizeMode: AnnSizeMode; 

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