Open GoogleCodeExporter opened 9 years ago
[deleted comment]
You are correct, the cross-hatch symbol is hardcoded and any changes to it in
Arcmap are not saved.
What happens when you try to compile the dll? Are there error messages? The
procedure for compiling is outlined in [ChangingMapbook], is that what you are
doing?
Original comment by map...@gmail.com
on 15 Sep 2010 at 6:26
When I compile the dll again after changes, VB6 shows an error message about a
property of an element that I did not change. I'll attach an image..
Original comment by david.rosell.ricart@gmail.com
on 16 Sep 2010 at 8:52
Attachments:
I think you may have changed another part of the file by accident. I just
changed the cross hatching to vertical dark stripes by editing only two lines
in the following code block, specifically: `pColor.Level = 150` and
`pLineFillSym.Angle = 45`, in file DSMapPage.cls.
{{{
Dim pLineSym As ISimpleLineSymbol, pLineFillSym As ILineFillSymbol
Dim pFillShape As IFillShapeElement, pColor As IGrayColor
Set pColor = New GrayColor
pColor.Level = 75
Set pLineSym = New SimpleLineSymbol
pLineSym.Color = pColor
Set pLineFillSym = New LineFillSymbol
pLineFillSym.Angle = 90
pLineFillSym.Color = pColor
pLineFillSym.Outline = pLineSym
Set pLineFillSym.LineSymbol = pLineSym
pLineFillSym.Separation = 5
}}}
Original comment by map...@gmail.com
on 16 Sep 2010 at 4:35
Attachments:
use a diff tool like WinMerge to compare your files against a known good copy
to see exactly what has changed.
Winmerge - http://winmerge.org/
Known working Mabook source files -
http://code.google.com/p/arcmapbook/source/browse/#svn/trunk/Visual_Basic
(easiest to retrieve with http://tortoisesvn.net/downloads)
Original comment by map...@gmail.com
on 16 Sep 2010 at 4:46
Original issue reported on code.google.com by
david.rosell.ricart@gmail.com
on 15 Sep 2010 at 8:35