[]
        
(Showing Draft Content)

C1.Win.Document.GraphicsHolder.FromGraphics

FromGraphics Method

FromGraphics(Graphics)

Creates a graphics holder from a graphics instance. When the holder is disposed, the graphics is left alone (i.e. NOT disposed).

Declaration
public static GraphicsHolder FromGraphics(Graphics g)
Public Shared Function FromGraphics(g As Graphics) As GraphicsHolder
Parameters
Type Name Description
Graphics g

The graphics to store in the new holder.

Returns
Type Description
GraphicsHolder

The new instance of the graphics holder.