CreateLabelStyle

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

 

JavaScript

 

CreateLabelStyle(   

       ls)

 

C#

 

 

ILabelStyle66 CreateLabelStyle(

       [SGLabelStyle        ls = LabelStyle.LS_DEFAULT])

 

C++

 

HRESULT CreateLabelStyle(

        SGLabelStyle        ls,

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

Exceptions

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