Table of Contents

Property PreserveImageProportions

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

PreserveImageProportions

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

public bool PreserveImageProportions { get; set; }

Property Value

bool

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.