Partager via


IXpsOMCanvas::SetUseAliasedEdgeMode method

Sets the value that determines whether the edges of objects in this canvas will be rendered using the aliased edge mode.

Syntax

HRESULT SetUseAliasedEdgeMode(
  [in] BOOL useAliasedEdgeMode
);

Parameters

  • useAliasedEdgeMode [in]
    The Boolean value that determines whether the edges of child objects in this canvas will be rendered using the aliased edge mode.

    Value Meaning
    TRUE

    The edges of objects in the canvas are to be rendered without anti-aliasing using the aliased edge mode. This includes any objects that have this value set to FALSE.

    In the document markup, this corresponds to the RenderOptions.EdgeMode attribute having the value of Aliased.

    FALSE

    The edges of objects in the canvas are to be rendered in the default manner.

    In the document markup, this corresponds to the RenderOptions.EdgeMode attribute being absent.

     

Return value

If the method succeeds, it returns S_OK; otherwise, it returns an HRESULT error code.

Remarks

This property corresponds to the RenderOptions.EdgeMode attribute of the Canvas element in the document markup.

Requirements

Minimum supported client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps]

Header

Xpsobjectmodel.h

IDL

XpsObjectModel.idl

See also

IXpsOMCanvas

XML Paper Specification