Click or drag to resize
RenderAreaSourceResize Method
Resize the image source to the desired size.

Namespace: OIV.Inventor.ViewerComponents.Wpf.RenderAreas
Assembly: OIV.Inventor.ViewerComponents.Wpf (in OIV.Inventor.ViewerComponents.Wpf.dll) Version: 2025.1.2.Release.1cace513075afe61529d155ddf73a78534108d9c
Syntax
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public void Resize(
	Size newSize
)

Parameters

newSize
Type: System.WindowsSize
The new size of the image source.
Remarks
This method may be used with caution (advanced use). You may prefer changing the size via the dependency properties PixelWidthProperty and PixelHeightProperty.
See Also