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.1.Release.5f9de35910b5f5a39847f4b67bd6e4c2b57f7a23
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