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: 2023.1.3.0.Release.5fd1c1ad27c99c06f73891d4218ee7122fbde35a
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