Performs explicit conversion between the object tg and the Graphics drawing canvas
            
    Namespace: 
   SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
| C# | 
|---|
public static explicit operator Graphics ( XTextureGraphics tg )  | 
Parameters
- tg
 - Type: SGP.XSpace..::.XTextureGraphics
Object to be converted. 
Return Value
The corresponding Graphics class instance.
Exceptions
| Exception | Condition | 
|---|---|
| System..::.ArgumentNullException | tg is nullNothingnullptra null reference (Nothing in Visual Basic). |