com.esri.arcgis.carto
Interface ILabelClassDescription2

All Superinterfaces:
Serializable
All Known Implementing Classes:
LabelClassDescription

public interface ILabelClassDescription2
extends Serializable

Provides access to the Label Class Description Interface.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 int getExpressionType()
          ExpressionType.
 String getLabelExpression()
          The Label Expression.
 ILabelPlacementDescription getLabelPlacementDescription()
          LabelPlacementDescription.
 double getMaximumScale()
          Maximum scale at which the symbol will display.
 double getMinimumScale()
          Minimum scale at which the symbol will display.
 ITextSymbol getSymbol()
          The text symbol used to draw the label.
 String getWhereClause()
          The SQL WhereClause for the label.
 boolean isUseCodedValue()
          Indicates whether Coded Value Should be used when displaying label expression.
 void setExpressionType(int expressionType)
          ExpressionType.
 void setLabelExpression(String labelExpression)
          The Label Expression.
 void setLabelPlacementDescription(ILabelPlacementDescription ppLabelPlacementDescription)
          LabelPlacementDescription.
 void setMaximumScale(double pMaximumScale)
          Maximum scale at which the symbol will display.
 void setMinimumScale(double pMinimumScale)
          Minimum scale at which the symbol will display.
 void setSymbol(ITextSymbol ppSymbol)
          The text symbol used to draw the label.
 void setUseCodedValue(boolean useCodedValue)
          Indicates whether Coded Value Should be used when displaying label expression.
 void setWhereClause(String whereClause)
          The SQL WhereClause for the label.
 

Method Detail

getExpressionType

int getExpressionType()
                      throws IOException,
                             AutomationException
ExpressionType.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
A com.esri.arcgis.carto.esriLabelExpressionType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setExpressionType

void setExpressionType(int expressionType)
                       throws IOException,
                              AutomationException
ExpressionType.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
expressionType - A com.esri.arcgis.carto.esriLabelExpressionType constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWhereClause

String getWhereClause()
                      throws IOException,
                             AutomationException
The SQL WhereClause for the label.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The whereClause
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setWhereClause

void setWhereClause(String whereClause)
                    throws IOException,
                           AutomationException
The SQL WhereClause for the label.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
whereClause - The whereClause (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLabelPlacementDescription

ILabelPlacementDescription getLabelPlacementDescription()
                                                        throws IOException,
                                                               AutomationException
LabelPlacementDescription.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
A reference to a com.esri.arcgis.carto.ILabelPlacementDescription
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLabelPlacementDescription

void setLabelPlacementDescription(ILabelPlacementDescription ppLabelPlacementDescription)
                                  throws IOException,
                                         AutomationException
LabelPlacementDescription.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
ppLabelPlacementDescription - A reference to a com.esri.arcgis.carto.ILabelPlacementDescription (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLabelExpression

String getLabelExpression()
                          throws IOException,
                                 AutomationException
The Label Expression.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The labelExpression
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLabelExpression

void setLabelExpression(String labelExpression)
                        throws IOException,
                               AutomationException
The Label Expression.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
labelExpression - The labelExpression (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isUseCodedValue

boolean isUseCodedValue()
                        throws IOException,
                               AutomationException
Indicates whether Coded Value Should be used when displaying label expression.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The useCodedValue
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUseCodedValue

void setUseCodedValue(boolean useCodedValue)
                      throws IOException,
                             AutomationException
Indicates whether Coded Value Should be used when displaying label expression.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
useCodedValue - The useCodedValue (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSymbol

ITextSymbol getSymbol()
                      throws IOException,
                             AutomationException
The text symbol used to draw the label.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
A reference to a com.esri.arcgis.display.ITextSymbol
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSymbol

void setSymbol(ITextSymbol ppSymbol)
               throws IOException,
                      AutomationException
The text symbol used to draw the label.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
ppSymbol - A reference to a com.esri.arcgis.display.ITextSymbol (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaximumScale

double getMaximumScale()
                       throws IOException,
                              AutomationException
Maximum scale at which the symbol will display.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The pMaximumScale
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMaximumScale

void setMaximumScale(double pMaximumScale)
                     throws IOException,
                            AutomationException
Maximum scale at which the symbol will display.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
pMaximumScale - The pMaximumScale (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMinimumScale

double getMinimumScale()
                       throws IOException,
                              AutomationException
Minimum scale at which the symbol will display.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The pMinimumScale
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMinimumScale

void setMinimumScale(double pMinimumScale)
                     throws IOException,
                            AutomationException
Minimum scale at which the symbol will display.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
pMinimumScale - The pMinimumScale (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.