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: 2024.2.2.Release.77a61d1a523234b418592ccd07676e84f6c1d90b
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