Select to view content in your preferred language

Map Book - clip data cross-hatch

364
1
05-06-2010 05:41 AM
Tiffany-AnnBryant
Emerging Contributor
I would like to use the "Clip data to the outline of the tile" option in Map Book with the cross-hatching of outside tiles. Is there a way to get a different colour/design other than a cross-hatch? If so, where is the setting? Does something need to be changed in the code?

Many thanks in advance,

Tiffany
GIS Analyst
0 Kudos
1 Reply
Tiffany-AnnBryant
Emerging Contributor
If anyone else is interested, I found this in the archive:

http://forums.esri.com/Thread.asp?c=93&f=1147&t=111618&mc=18#msgid402344

"The size of the cross hatching in this case is hard coded. To change how close together the cross hatching lines are, you also would need to recompile the dlls in VB6. Look for the routine "CreateClipElement" in the file DSMapPage.cls from the project DSMapBookPrj.vbp. There is a line in that routine giving pLineFillSym.Separation = 5. Change that number to a smaller value to make the hatching more dense. You can also play with the properties of pLineSym (.Color, .Style, .Width) to change the look of the lines that make up the cross hatching.

Understand though that any time you recompile DSMapBookPrj.vbp, any map book settings you previously saved in an MXD file will have to be recreated from scratch. This is not true of DSMapBookUIPrj.vbp."

Unfortunately, you cannot compile a new DLL in the VB Editor that comes with ArcGIS. Although the VB Editing environment in ArcGIS allows you to program ArcObjects, the mapbook application was not written with the VBA ("Visual Basic for Applications") environment in mind. The code you write in ArcGIS' VB Editor is not compiled into independent EXE or DLL files, but is instead stored with your MXD map document. The mapbook application was instead written to be compiled into ActiveX DLLs, and this requires a Microsoft product called Visual Basic 6.0. This product is not shipped with ArcGIS."
0 Kudos