Leadtools.Annotations Namespace > AnnCodecs Class > Load Method : Load(Stream,AnnContainer,Int32) Method |
This method will not remove any existing objects in the container, so if you are re-using an existing collection to load the annotation objects into, make sure to call RasterCollection<AnnObject>.Clear on the collection before you call this method.
This method will not position the stream back to its original position before it returns. It is your responsibility to position the stream back before you can load another page from this stream.
To load multiple containers from a multi-page stream using one method, use Load(Stream).
For more information, refer to Annotation Files.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2