maphew / arcmapbook

Automatically exported from code.google.com/p/arcmapbook
Other
3 stars 2 forks source link

cross-hatch symbol is hard-coded, can't compile my changes #91

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Activate clip option and cross-hactch option
2.Change graphic options by double-click in cross-hatch polygon
3.Not printed in PDF in all serie. Changes everytime I change sheet

What is the expected output? What do you see instead?
the expected output is a different cross-hatch than the original. What I see 
when exported to PDF is the original cross-hatch

What version of the product are you using? On what operating system?
version 9.2 windows 2000

Please provide any additional information below.
I tried to change default options i VB6 but I cannot compile the dll with some 
changes made. SOmone can write down the correct process?
Thanks

Original issue reported on code.google.com by david.rosell.ricart@gmail.com on 15 Sep 2010 at 8:35

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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:

GoogleCodeExporter commented 9 years ago
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:

GoogleCodeExporter commented 9 years ago
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