CreateLabelStyle

Creates a text and image label style that defines all label style properties. This style can be applied to any ITerrainLabel61 or ITerrainImageLabel61 object.

 

JavaScript

 

CreateLabelStyle(   

       ls)

 

C#

 

 

ILabelStyle61 CreateLabelStyle(

       SGLabelStyle ls = LabelStyle.LS_DEFAULT)

 

C++

 

HRESULT CreateLabelStyle(

        SGLabelStyle        ls,

        ILabelStyle61 **    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 ILabelStyle61, representing the label style.

Exceptions

See: HRESULT Return Values for a list of possible values returned by the HRESULT.