VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.UI Namespace / ImageViewer Class / CenterImage Property
Syntax Remarks Requirements SeeAlso
In This Topic
CenterImage Property (ImageViewer)
In This Topic
Gets or sets a value indicating whether the image is centered in the viewer.
Syntax
'Declaration

<DefaultValueAttribute(False)>
<CategoryAttribute("VintaSoft")>
<DescriptionAttribute("A value indicating whether the image is centered in the viewer.")>
Public Property CenterImage As Boolean

[DefaultValue(False)]
[Category("VintaSoft")]
[Description("A value indicating whether the image is centered in the viewer.")]
public bool CenterImage { get; set; }

Property Value

True - the image is centered in the viewer; false - the image is NOT centered in the viewer.

Default value is false.
Remarks

Image is centered in image viewer immediately when value of this property is set to true.

Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also