Wrongly filled EMF file
#2
If I changed the color of one of the drawings, no problems in the result, xaml of which got via ReadXML() looks:


<Image xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Stretch="Uniform">
    <Image.Resources>
    </Image.Resources>
    <Image.Source>
        <DrawingImage xmlns:PresentationOptions="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options" PresentationOptions:Freeze="True">
            <DrawingImage.Drawing>
                <DrawingGroup>
                    <GeometryDrawing Brush="Aqua" Geometry="F1M807,379L630,578 407,724 322,471 308,204 569,258z"/>
                    <GeometryDrawing Brush="Green" Geometry="F1M889,0L544,988 1002,1092 318,299 0,643 1029,448z"/>
                </DrawingGroup>
            </DrawingImage.Drawing>
        </DrawingImage>
    </Image.Source>
</Image>

However with original file, 2 GeometryDrawing entry is combined into one:

            <DrawingImage.Drawing>
                <DrawingGroup>
                    <GeometryDrawing Brush="Green" Geometry="F1M807,379L630,578 407,724 322,471 308,204 569,258z M889,0L544,988 1002,1092 318,299 0,643 1029,448z"/>
                </DrawingGroup>
            </DrawingImage.Drawing>

Is it the cause of this problem?
  


Messages In This Thread
Wrongly filled EMF file - by m246246 - 06-13-2017, 02:19 PM
RE: Wrongly filled EMF file - by m246246 - 06-14-2017, 03:17 AM
RE: Wrongly filled EMF file - by abenedik - 06-14-2017, 09:41 PM
RE: Wrongly filled EMF file - by m246246 - 06-15-2017, 04:56 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)