CreateLabelStyle

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

 

JavaScript

 

CreateLabelStyle(  

       ls)

 

C#

 

 

ILabelStyle80 CreateLabelStyle(

       SGLabelStyle ls = SGLabelStyle.LS_DEFAULT)

 

C++

 

HRESULT CreateLabelStyle(

        SGLabelStyle       ls,

        ILabelStyle80 **   pVal) 

 

Parameters

ls

An enum that determines the label style type. The following are the possible values:

·          LS_DEFAULT = 0

·          LS_STREET = 1

·          LS_STATE = 2

Return Value

pVal

An ILabelStyle80 representing the label style.

Exceptions

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