AVEVA OMI Software Developer Kit



graphic control
The Value true to stretch, False to maintain Aspect
SetGraphicStretch Method
Sets the stretch mode for the given Graphic control.
Syntax
'Declaration
 
Public MustOverride Sub SetGraphicStretch( _
   ByVal frameworkElement As FrameworkElement, _
   ByVal stretch As Boolean _
) 
'Usage
 
Dim instance As GraphicControlFactory
Dim frameworkElement As FrameworkElement
Dim stretch As Boolean
 
instance.SetGraphicStretch(frameworkElement, stretch)
public abstract void SetGraphicStretch( 
   FrameworkElement frameworkElement,
   bool stretch
)
public:
abstract void SetGraphicStretch( 
   FrameworkElement^ frameworkElement,
   bool stretch
) 

Parameters

frameworkElement
graphic control
stretch
The Value true to stretch, False to maintain Aspect
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also