[mapguide-users] How to create a watermark?

torrini maria.kallbach at geoplanteam.ch
Thu Sep 26 23:40:52 PDT 2013


Hi list,

I don't master the watermarks.
When I'm trying to create a watermark with Maestro (5.0.0, MapGuide 2.5.1)
and want to preview it, the error "Value cannot be null. Parameter name:
identifier [...]" appears.
Adding it to a layer or a map doesn't show me a watermark, too.

Can anyone of you give me an example watermark with just a dummy text?!

Thanks,
-trorrini


That's what mine looks like (created with Maestro):

<?xml version="1.0"?>
<WatermarkDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="2.4.0"
xsi:noNamespaceSchemaLocation="WatermarkDefinition-2.4.0.xsd">
  <Content>
    <SimpleSymbolDefinition>
      <Name />
      <Description />
      <Graphics>
        <Text>
          <Content>Watermark</Content>
          <FontName>'Arial'</FontName>
          <Height>200</Height>
        </Text>
      </Graphics>
      <PointUsage />
      <ParameterDefinition />
    </SimpleSymbolDefinition>
  </Content>
  <Appearance>
    <Transparency>50</Transparency>
  </Appearance>
  <Position>
    <XYPosition>
      <XPosition>
        <Offset>2</Offset>
        <Unit>Millimeters</Unit>
        <Alignment>Right</Alignment>
      </XPosition>
      <YPosition>
        <Offset>2</Offset>
        <Unit>Millimeters</Unit>
        <Alignment>Bottom</Alignment>
      </YPosition>
    </XYPosition>
  </Position>
</WatermarkDefinition>



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/How-to-create-a-watermark-tp5080413.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list