Table of Contents

Class AreaFillReader

Namespace
EncDotNet.S100.Portrayals
Assembly
EncDotNet.S100.Portrayals.dll

Reads an S-100 area fill XML file and produces an AreaFill.

public static class AreaFillReader
Inheritance
AreaFillReader
Inherited Members

Remarks

S-100 Ed 5.2 Part 9 area fill files may use either the simple format:

<areaFill>
  <color>DEPVS</color>
  <pattern>
    <symbol>HATCH01</symbol>
  </pattern>
</areaFill>

or the S-101 catalogue format with tiling vectors:

<af:symbolFill xmlns:af="http://www.iho.int/S100AreaFill/5.2">
  <areaCRS>GlobalGeometry</areaCRS>
  <symbol reference="DQUALB01P"/>
  <v1><x>30.97</x><y>0.0</y></v1>
  <v2><x>16.97</x><y>25.84</y></v2>
</af:symbolFill>

Methods

Read(Stream, string)

Reads an area fill definition from a stream.

public static AreaFill Read(Stream stream, string name)

Parameters

stream Stream

The stream containing the area fill XML.

name string

The area fill name (from the catalogue item ID).

Returns

AreaFill