Click or drag to resize
AB4D logo

DXViewSizeChangedEventArgs Class

DXViewSizeChangedEventArgs is used when the size of DXView is changed.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    Ab3d.DirectX.CommonDXViewSizeChangedEventArgs

Namespace: Ab3d.DirectX.Common
Assembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.0.8865.1045
Syntax
C#
public class DXViewSizeChangedEventArgs : EventArgs

The DXViewSizeChangedEventArgs type exposes the following members.

Constructors
 NameDescription
Public methodDXViewSizeChangedEventArgs Constructor
Top
Properties
 NameDescription
Public propertyFinalPixelSize Gets size of shown rendering area in pixels (RenderSize is multiplied by DpiScale). In case of super-sampling this value is smaller than RenderPixelSize.
Public propertyRenderPixelSize Gets size in pixels of back buffer that is used to render the 3D scene (RenderSize is multiplied by DpiScale and with SupersamplingFactor). To get size of shown rendering area in pixels (this size multiplied by dpi scale) see FinalPixelSize.
Public propertyRenderSize Gets size of shown rendering area in WPF units. To get size of shown rendering area in pixels (this size multiplied by dpi scale) see FinalPixelSize. To get size of back buffer that is used by rendering (this size multiplied by dpi scale and super-sampling factor, see the RenderPixelSize
Top
See Also