Пример #1
0
        public Result DrawInlineObject(object clientDrawingContext, float originX, float originY, DW.InlineObject inlineObject, bool isSideways, bool isRightToLeft, ComObject clientDrawingEffect)
        {
            D2D.RenderTarget render = clientDrawingContext as D2D.RenderTarget;
            if (render == null)
            {
                return(SharpDX.Result.Ok);
            }

            inlineObject.Draw(render, this, originX, originY, isSideways, isRightToLeft, clientDrawingEffect);
            return(Result.Ok);
        }
Пример #2
0
 public void SetInlineObject(DW.InlineObject o, DW.TextRange range)
 {
     this.layout.SetInlineObject(o, range);
 }