Home > Working with SGWorld > Creator (ICreator6) > CreateLabelStyle
Creates a text and image label style that defines all label style properties. This style can be applied to any ITerrainLabel6 or ITerrainImageLabel6 object.
JavaScript |
|
CreateLabelStyle( ls) |
C# |
|
|
|
ILabelStyle6 CreateLabelStyle( SGLabelStyle ls = LabelStyle.LS_DEFAULT) |
C++ |
|
HRESULT CreateLabelStyle( SGLabelStyle ls, ILabelStyle6 ** pVal) |
Parameters:
ls
An enum that determines the label style type. The following are the possible LabelStyle values:
· LS_DEFAULT = 0
· LS_STREET = 1
· LS_STATE = 2
Return Value
pVal
An ILabelStyle6, representing the label style.
Exceptions
See: HRESULT Return Values for a list of possible values returned by the HRESULT.