27 references to RtfImageFormat
PresentationFramework (27)
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (9)
1655internal RtfImageFormat ImageFormat 1863private RtfImageFormat _imageFormat; 8699case RtfImageFormat.Wmf: 8700case RtfImageFormat.Png: 8704case RtfImageFormat.Jpeg: 8723if (formatState.ImageFormat != RtfImageFormat.Wmf) 9724formatState.ImageFormat = RtfImageFormat.Png; 9730formatState.ImageFormat = RtfImageFormat.Jpeg; 9736formatState.ImageFormat = RtfImageFormat.Wmf;
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (18)
2027RtfImageFormat imageFormat = GetImageFormatFromImageSourceName(documentNode.FormatState.ImageSource); 2046private void WriteShapeImage(DocumentNode documentNode, Stream imageStream, RtfImageFormat imageFormat) 2126case RtfImageFormat.Gif: 2127case RtfImageFormat.Tif: 2128case RtfImageFormat.Bmp: 2129case RtfImageFormat.Dib: 2130case RtfImageFormat.Png: 2134case RtfImageFormat.Jpeg: 2142if (imageFormat != RtfImageFormat.Unknown) 2231private RtfImageFormat GetImageFormatFromImageSourceName(string imageName) 2233RtfImageFormat imageFormat = RtfImageFormat.Unknown; 2243imageFormat = RtfImageFormat.Png; 2248imageFormat = RtfImageFormat.Jpeg; 2252imageFormat = RtfImageFormat.Gif; 2257imageFormat = RtfImageFormat.Tif; 2261imageFormat = RtfImageFormat.Bmp; 2265imageFormat = RtfImageFormat.Dib;