VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Wpf.Print Namespace / WpfImagePrintManager Class / Center Property
Syntax Remarks Requirements SeeAlso
In This Topic
Center Property (WpfImagePrintManager)
In This Topic
Gets or sets a value indicating whether images should be centered on page.
Syntax
'Declaration

<DescriptionAttribute("A value indicating whether images should be centered on page.")>
<CategoryAttribute("VintaSoft")>
Public Property Center As Boolean

[Description("A value indicating whether images should be centered on page.")]
[Category("VintaSoft")]
public bool Center { get; set; }

Property Value

Default value is false.
Remarks

Printed images will be centered if PrintScaleMode property set to PrintScaleMode.BestFit or PrintScaleMode.CropToPageSize.

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