XPS EdgeMode RRS feed

  • Question

  • For the RenderOptions.EdgeMode attribute, the XPS spec doesn’t have an XPS example where the Aliased value is set.  Does anyone know of a good way I can see an example of that?  Is there an example document with EdgeMode set?  The spec says:

    “RenderOptions.EdgeMode        ST_EdgeMode                 Controls how edges of paths within the canvas are rendered. The only valid value is Aliased. Omitting this attribute causes the edges to be rendered in the consumer's default manner.”

    So I’m looking for an example of what it looks like.  The XPS gives an example but it doesn’t say anything about “Aliased”:

    <xs:attributeGroup name="AG_Canvas">

    <xs:attribute name="RenderTransform" type="ST_RscRefMatrix"> </xs:attribute>

    <xs:attribute name="Clip" type="ST_RscRefAbbrGeomF"> </xs:attribute>

    <xs:attribute name="Opacity" type="ST_ZeroOne" default="1.0"> </xs:attribute>

    <xs:attribute name="OpacityMask" type="ST_RscRef"> </xs:attribute>

    <xs:attribute name="Name" type="ST_Name"> </xs:attribute>

    <xs:attribute name="RenderOptions.EdgeMode" type="ST_EdgeMode"> </xs:attribute>

    <xs:attribute name="FixedPage.NavigateUri" type="xs:anyURI"> </xs:attribute>

    <xs:attribute ref="xml:lang"> </xs:attribute> <xs:attribute ref="x:Key" />


    I searched online but don’t see any examples.  Maybe one of you knows?  Maybe just the fact that it has EdgeMode in there, it’s “aliased”?  If it wasn’t in there, it wouldn’t have EdgeMode set to aliased in it at all?

    Friday, February 27, 2015 7:38 PM


All replies

  • Hi ShellCl,

    According to your description, this issue is related to XPS instead of unit test.

    You may try to find the solution in XPS forum.



    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Monday, March 2, 2015 2:45 AM
  • That forum is archived and set to read-only. Sticky has these comments.


    XPS for Developers: See the XPS content on WHDC at www.microsoft.com/xps




    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

    Monday, March 2, 2015 2:57 AM