DisplayCanvasTranslateSizeFromImage Method

CVB.Net Documentation
Translates a size relative to the ImageSource content pixels to a size relative to this panel.

Namespace:  Stemmer.Cvb.Wpf.Controls
Assembly:  Stemmer.Cvb.Wpf (in Stemmer.Cvb.Wpf.dll) Version: 14.0.0.0
Syntax

public Size TranslateSizeFromImage(
	Size size
)

Parameters

size
Type: System.WindowsSize
Size relative to the image source pixels.

Return Value

Type: Size
Translated size relative to this panel.
Remarks

Dependent on the ActualZoomFactor the translated size may contain fractions.
See Also

Reference