Autodesk 15607-010000-5000A Manuale Utente

Pagina di 180
156
|
Chapter 9
Enhanced Layer Functionality API Additions
Error Codes
-5 (Security Violation)
-15 (Does not apply)
See Also
setClipAdjust
setClipAdjust Method
Syntax
boolean setClipAdjust(double adjust)
Description
Sets the clipping adjustment to apply to the spatial filter of the layer. 
You us the clipping adjustment to change the extents of the filter by 
increasing or decreasing the dimensions of the bounding box so that it is 
bigger or smaller than the default client window size. For more information 
about setting the clipping adjustment for filters, see “Changing the Dimen-
sions of the Autodesk MapGuide Spatial Filter” on page 44.
Parameters
adjust – Value indicating the clipping adjustment to apply to the filter.
0 – Sets the filter to its default size (size of client window).
Positive values progressively increase the size of the filter. Negative values 
progressively decrease the size of the filter.
Returns
boolean – Specifies whether or not the clipping adjustment was successfully 
set.
True – Indicates that the clipping adjustment was successfully set.
False – Indicates that the clipping adjustment was not set.