PdfButton.PreserveImageProportions Property

Gets or sets the value indicating whether to preserve the image's original aspect ratio.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public bool PreserveImageProportions { get; set; }
VB
Public Property PreserveImageProportions As Boolean
	Get
	Set

Property Value

Type: Boolean

true to scale the Image to fit the width or height of this button while maintaining the image's original aspect ratio.

false to scale the image to fill the button rectangle exactly, without regard to its original aspect ratio.

Remarks

Default value: true.

See Also