Click or drag to resize
AB4D logo

DXViewDisableWpfResizingOfRenderedImage Property

Gets or sets a Boolean that specifies if WPF can use linear filtering (when false) to resize the rendered image so that it fits the area to a subpixel values. Default value is false to exactly match (to subpixel value) the size of the rendered image and exactly align it to other WPF objects. This may produce more blurred image. When set to true, a sharper rendered image is shown because the exact same image is shows as rendered by DXEngine (setting NearestNeighbor to DXImage SetBitmapScalingMode).s This requires that the root Window element or parent element that sets the size for DXViewportView (for example Grid) has UseLayoutRounding set to true otherwise image tearing can appear.

Namespace: Ab3d.DirectX.Controls
Assembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.1.9105.2048
Syntax
C#
public bool DisableWpfResizingOfRenderedImage { get; set; }

Property Value

Boolean
See Also