Ejemplo n.º 1
0
            public void WriteTo(XmlWriter xmlWriter)
            {
                if (CImage.Sizing.HasValue)
                {
                    xmlWriter.WriteElementString("Sizing", CImage.Sizing.Value.ToString());
                }

                if ((CImage.MIMEType.HasValue) && (CImage.Source == ImageSource.Database))
                {
                    xmlWriter.WriteElementString("MIMEType",
                                                 RdlcValueConverter.GetMIMEType(CImage.MIMEType.Value));
                }

                xmlWriter.WriteElementString("Source", CImage.Source.ToString());
                //Value
                xmlWriter.WriteElementString("Value", CImage.GetXmlValue());
            }