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.0.Release.2a081733c801ebf47c3d8b921bce5efef34a062d
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