Answered by:
XPS EdgeMode

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" />
</xs:attributeGroup>
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?
- Moved by Starian chenMicrosoft contingent staff Monday, March 2, 2015 2:46 AM
Friday, February 27, 2015 7:38 PM
Answers
-
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
-
XPS in Windows Vista: see Learn About the Features
-
WPF: If your question is on using Windows Presentation Foundation you might be better off asking in the WPF forum
-
MSDN Support options: http://msdn2.microsoft.com/en-us/support/default.aspx
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.- Edited by Dave PatrickMVP Monday, March 2, 2015 3:14 AM
- Proposed as answer by Dave PatrickMVP Friday, March 6, 2015 3:46 PM
- Marked as answer by Just Karl Sunday, March 15, 2015 7:34 PM
Monday, March 2, 2015 2:57 AM -
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.
Regards
Starain
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
-
XPS in Windows Vista: see Learn About the Features
-
WPF: If your question is on using Windows Presentation Foundation you might be better off asking in the WPF forum
-
MSDN Support options: http://msdn2.microsoft.com/en-us/support/default.aspx
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.- Edited by Dave PatrickMVP Monday, March 2, 2015 3:14 AM
- Proposed as answer by Dave PatrickMVP Friday, March 6, 2015 3:46 PM
- Marked as answer by Just Karl Sunday, March 15, 2015 7:34 PM
Monday, March 2, 2015 2:57 AM -