|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.esri.aims.mtier.model.arcmap.Layout
The Layout object represent a Layout from an ArcMap Service.
Constructor Summary | |
Layout()
Constructs an instance of a Layout object. |
Method Summary | |
long |
getDPI()
Returns the DPI(dots per square inch) for the output image. |
FeatureCoordSys |
getFeatureCoordSys()
Returns the Layout objects associated FeatureCoordSys object. |
FilterCoordSys |
getFilterCoordSys()
Returns the Layout objects associated FilterCoordSys object. |
long |
getImageHeight()
Returns the Layout objects image height property value. |
long |
getImageWidth()
Returns the Layout objects image width property value. |
Envelope |
getLayoutEnvelope()
Returns the Layout objects associated envelope object. |
LayoutOutput |
getLayoutOutput()
Returns the layout objects associated LayoutOutput object. |
String |
getPageUnits()
Returns the Layout objects page units value. |
void |
setDPI(long value)
Sets the DPI(dots per square inch) for the output image. |
void |
setFeatureCoordSys(FeatureCoordSys obj)
Sets the Layout objects associated FeatureCoordSys object. |
void |
setFilterCoordSys(FilterCoordSys obj)
Sets the Layout objects associated FilterCoordSys object. |
void |
setImageHeight(long value)
Sets the Layout objects image height property. |
void |
setImageWidth(long value)
Sets the Layout objects image width property. |
void |
setLayoutEnvelope(Envelope obj)
Sets the Layout objects associated envelope object. |
void |
setLayoutOutput(LayoutOutput obj)
Sets the Layout objects LayoutOutput object. |
void |
setPageUnits(String value)
Sets the page units for the Layout object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Layout()
Layout layout = new Layout();
Method Detail |
public void setLayoutEnvelope(Envelope obj)
Envelope env = new Envelope();
env.setMinX(0.0);
env.setMinY(0.0);
env.setMaxX(8.0);
env.setMaxY(4.5);
layout.setLayoutEnvelope(env);
obj
- the Envelope object.getLayoutEnvelope()
public Envelope getLayoutEnvelope()
double minx = layout.getLayoutEnvelope().getMinX();
setLayoutEnvelope(com.esri.aims.mtier.model.envelope.Envelope)
public void setPageUnits(String value)
layout.setPageUnits("inches");
getPageUnits()
public String getPageUnits()
String units = layout.getPageUnits();
setPageUnits(java.lang.String)
public void setFeatureCoordSys(FeatureCoordSys obj)
obj
- the FeatureCoordSys object.getFeatureCoordSys()
public FeatureCoordSys getFeatureCoordSys()
setFeatureCoordSys(com.esri.aims.mtier.model.map.projection.FeatureCoordSys)
public void setFilterCoordSys(FilterCoordSys obj)
obj
- the FilterCoordSys object.getFilterCoordSys()
public FilterCoordSys getFilterCoordSys()
setFilterCoordSys(com.esri.aims.mtier.model.map.projection.FilterCoordSys)
public void setImageWidth(long value)
layout.setImageWidth(10);
value
- the width value.getImageWidth()
public long getImageWidth()
long width = layout.getImageWidth();
setImageWidth(long)
public void setImageHeight(long value)
layout.setImageHeight(10);
value
- the height value.getImageHeight()
public long getImageHeight()
long height = layout.getImageHeight();
setImageHeight(long)
public void setDPI(long value)
map.setDPI(200);
value
- the DPI value.getDPI()
public long getDPI()
long dpi = map.getDPI();
setDPI(long)
public void setLayoutOutput(LayoutOutput obj)
LayoutOutput output = new LayoutOutput();
layout.setLayoutOutput(output);
obj
- the LayoutOutput object.getLayoutOutput()
public LayoutOutput getLayoutOutput()
#getLayoutOuput
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |