|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITextMargins
Provides access to members that control the text margins.
TextMargins control the distance between the text and the edge of the IBalloonCallout or ILineCallout. Each side, left, right, top and bottom can be given a unique value.
IBalloonCallout
Method Summary | |
---|---|
double |
getBottomMargin()
Value for the bottom margin. |
double |
getLeftMargin()
Value for the left margin. |
double |
getRightMargin()
Value for the right margin. |
double |
getTopMargin()
Value for the top margin. |
void |
putMargins(double left,
double top,
double right,
double bottom)
Sets the margins. |
void |
queryMargins(double[] left,
double[] top,
double[] right,
double[] bottom)
Returns the margins. |
void |
setBottomMargin(double bottomMargin)
Value for the bottom margin. |
void |
setLeftMargin(double leftMargin)
Value for the left margin. |
void |
setRightMargin(double rightMargin)
Value for the right margin. |
void |
setTopMargin(double topMargin)
Value for the top margin. |
Method Detail |
---|
double getLeftMargin() throws IOException, AutomationException
LeftMargin specifies the distance between the text and the left edge of the callout.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setLeftMargin(double leftMargin) throws IOException, AutomationException
LeftMargin specifies the distance between the text and the left edge of the callout.
leftMargin
- The leftMargin (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getRightMargin() throws IOException, AutomationException
RightMargin specifies the distance between the text and the right edge of the callout.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setRightMargin(double rightMargin) throws IOException, AutomationException
RightMargin specifies the distance between the text and the right edge of the callout.
rightMargin
- The rightMargin (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getTopMargin() throws IOException, AutomationException
TopMargin specifies the distance between the text and the top edge of the callout.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setTopMargin(double topMargin) throws IOException, AutomationException
TopMargin specifies the distance between the text and the top edge of the callout.
topMargin
- The topMargin (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getBottomMargin() throws IOException, AutomationException
BottomMargin specifies the distance between the text and the bottom edge of the callout.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setBottomMargin(double bottomMargin) throws IOException, AutomationException
BottomMargin specifies the distance between the text and the bottom edge of the callout.
bottomMargin
- The bottomMargin (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void putMargins(double left, double top, double right, double bottom) throws IOException, AutomationException
PutMargins enables setting the value for all four margins, left, top, right and bottom simultaneously.
left
- The left (in)top
- The top (in)right
- The right (in)bottom
- The bottom (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void queryMargins(double[] left, double[] top, double[] right, double[] bottom) throws IOException, AutomationException
QueryMargins returns the value for all four margins, left, top, right and bottom.
left
- The left (out: use single element array)top
- The top (out: use single element array)right
- The right (out: use single element array)bottom
- The bottom (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |