Partager via


IXRGlyphs::SetOriginX (Compact 2013)

3/28/2014

This method sets the x origin for the glyphs.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetOriginX(
    float OriginX
) = 0; 

Parameters

  • OriginX
    [in] A float value that describes the x origin of the glyphs, in pixels.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

The x origin and the y origin are used to offset the whole grouping of glyphs.

.NET Framework Equivalent

System.Windows.Document.Glyphs.OriginX

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRGlyphs
IXRGlyphs::GetOriginX