Version

DrawCache Constructor(Graphics,UIElement,AlphaBlendMode,Boolean,Single)

Constructor, initializes a new instance of the DrawCache class.
Syntax
'Declaration
 
Public Function New( _
   ByVal graphics As Graphics, _
   ByVal element As UIElement, _
   ByVal alphaBlendMode As AlphaBlendMode, _
   ByVal doubleBuffer As Boolean, _
   ByVal zoomFactor As Single _
)
public DrawCache( 
   Graphics graphics,
   UIElement element,
   AlphaBlendMode alphaBlendMode,
   bool doubleBuffer,
   float zoomFactor
)

Parameters

graphics
The graphics object to render on
element
The element to be drawn
alphaBlendMode
The mode of alpha blending used (ignored if print is true)
doubleBuffer
True means a memory graphics object will always be created to cache drawing untilthe end.
zoomFactor
The zoom factor used by the drawing control.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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