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