ActiveReports 8
Sizing Property
See Also 
GrapeCity.ActiveReports.v8 Assembly > GrapeCity.ActiveReports.PageReportModel Namespace > Image Class : Sizing Property

Glossary Item Box

Gets or sets a value indicating the how the image is rendered if it does not fit within the defined size.

Syntax

Visual Basic (Declaration) 
Public Property Sizing As ImageSizing
C# 
public ImageSizing Sizing {get; set;}

Property Value

An ImageSizing enumeration indicating how the image is rendered if it does not fit within the defined size.

Remarks

If Sizing is set to AutoSize, the control's borders grow or shrink to match the size of the image.

If Sizing is set to Fit, the image is resized to match the height and width of the control.

If Sizing is set to FitProportional, the image is resized while preserving the aspect ratio to match either the height or width of the control or both.

If Sizing is set to Clip, the image is clipped to fit inside the borders of the control.

Report output formats which do not support FitProportional or Clip substitute Fit.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also