DisplayCanvasTranslateSizeToImage Method

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

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

public Size TranslateSizeToImage(
	Size size
)

Parameters

size
Type: System.WindowsSize
Size relative to this panel.

Return Value

Type: Size
Translated size relative to the image source pixels.
Remarks

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

Reference