Xceed Grid for WinForms v4.3 Documentation
PreserveImageAspectRatio Property (CellViewerManagerReportStyle)


Xceed.Grid.v4.3 Assembly > Xceed.Grid.Reporting Namespace > CellViewerManagerReportStyle Class : PreserveImageAspectRatio Property
Gets or sets a boolean value indicating if the image should preserve its aspect ratio when the Xceed.Grid.Viewers.CellViewerManager is printed in a report.
Syntax
'Declaration
 
<DescriptionAttribute("Indicates if the image should preserve its aspect ratio when the CellViewerManager is printed in a report.")>
<CategoryAttribute("Appearance")>
Public Property PreserveImageAspectRatio As Boolean
'Usage
 
Dim instance As CellViewerManagerReportStyle
Dim value As Boolean
 
instance.PreserveImageAspectRatio = value
 
value = instance.PreserveImageAspectRatio
[Description("Indicates if the image should preserve its aspect ratio when the CellViewerManager is printed in a report.")]
[Category("Appearance")]
public bool PreserveImageAspectRatio {get; set;}

Property Value

true if the image should preserve its aspect ratio when the Xceed.Grid.Viewers.CellViewerManager is printed in a report; false otherwise. By default, true.
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

Reference

CellViewerManagerReportStyle Class
CellViewerManagerReportStyle Members