DImage.GetImage

From GMod Wiki

Jump to: navigation, search
Function
Syntax DImage:GetImage( )
Description:
Returns image name
Returns: String
In Object: DImage
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=DImage.GetImage]DImage.GetImage [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionReturns image name .
Used onNewerClient.png
Code
local DImage = vgui.Create( "DImage" )
DImage:SetImage( "VGUI/entities/npc_antlion" )
print(DImage:GetImage ())
OutputReturns "VGUI/entities/npc_antlion" in the console.


Additional Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox