CreateLabelStyle

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

 

JavaScript

 

CreateLabelStyle(   

       ls)

 

C#

 

 

ILabelStyle65 CreateLabelStyle(

       [SGLabelStyle        ls = LabelStyle.LS_DEFAULT])

 

C++

 

HRESULT CreateLabelStyle(

        SGLabelStyle        ls,

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

Exceptions

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